/[soft]/i18n-tools/README
ViewVC logotype

Contents of /i18n-tools/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8159 - (show annotations) (download)
Sun May 5 11:44:36 2013 UTC (10 years, 11 months ago) by filip
File size: 1975 byte(s)
improved both methods for svn authentication, added README, many other updates and fixes
1 FEATURES
2 -it's very configurable
3 -support for many types of svn checkout: anonymous (default), user or ssh key authentication
4 -it logs all important actions
5 -it operates on list of "translation projects" in svn (including web pages)
6 -svn checkout or update as needed on every single project
7 -verbose checking for fuzzy and untranslated strings or just statistics (numbers of translated, fuzzy and untranslated strings) if required
8 -checking the syntax of po file from svn if required
9 -checking the syntax of pot file from svn if required
10 -copying the *.pot file, *.po file and web page files for editing in working directory if required
11 -testing for differences of *.po file from working copy if required
12 -testing for differences of *.pot file from working copy if required
13 -searching for new *.pot files in svn
14
15 INSTALATION AND CONFIGURATION
16
17 Please put script check_for_translation_work.sh in your home directory ~/bin. That way it will be in your PATH so you can call it from any directory. After first run please adjust file ~/.mageia-i18n-config to suit your needs. Remember to upload your public ssh key to mageia identity! Otherwise the script will prompty you for password everytime for every resource. See wiki for details how to do that.
18
19 Set this according to your language code:
20 language_code=sl
21
22 Adjust svn and working translations directories
23 svn_directory= default is /home/user/Mageia/i18n/svn
24 working_translations_directory= default is /home/user/Mageia/i18n/translations
25
26 choose anonymous svn method if you don't need commit access:
27 svn_method="svn://"
28
29 otherwise choose public ssh key svn access:
30 svn_method="svn+ssh://"
31
32 Other options should be obvious by its name or comment.
33
34 TODO
35 better configurability of messages shown (only what work needs to be done and no message for up to date projects)
36 better documentation
37
38
39 SVN TIP
40 How to svn co single file (file.pot):
41 svn checkout $url_of_big_dir $target_dir --depth=empty
42 svn up $target_dir/$file_you_want

  ViewVC Help
Powered by ViewVC 1.1.30