Changes between Version 3 and Version 4 of doc/developer/LanguageTranslation
- Timestamp:
- 07/03/07 13:37:02 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/developer/LanguageTranslation
v3 v4 20 20 1. svn commit 21 21 22 = Howto add a new translation =22 = Howto add a brand new translation = 23 23 24 24 1. Using a shell, go to '''/path_to/wifidog/locale''' directory. … … 28 28 1. Edit '''message.po'''. If you're under Linux use [http://i18n.kde.org/tools/kbabel/ KBabel] for translation, otherwise make sure your text editor writes UTF-8 ( [http://www.xemacs.org xemacs ]manages .po pretty well ) 29 29 1. Once completed, run the script '''compile.sh''', this will create a '''./ru/LC_MESSAGES/messages.mo''' binary file 30 1. Add "ru" locale to '''config .php'''30 1. Add "ru" locale to '''config_available_locales.php''' 31 31 1. Restart Apache. You will have to do this when you recompile, because .mo binary files are cached by gettext. 32 32 1. You should now be able to select your language ! 33 1. Finally, send us your translation file (message.po) . We will add it to Wifidog Captive Portal.33 1. Finally, send us your translation file (message.po) by attaching it to a tichet. Please include the name of your language (in you local language as well as in english). We will add your translation to the repository. 34 34