Changes between Version 3 and Version 4 of doc/developer/LanguageTranslation

Show
Ignore:
Timestamp:
07/03/07 13:37:02 (13 years ago)
Author:
benoitg
Comment:

Update for new way to add translations

Legend:

Unmodified
Added
Removed
Modified
  • doc/developer/LanguageTranslation

    v3 v4  
    2020 1. svn commit 
    2121 
    22 = Howto add a new translation = 
     22= Howto add a brand new translation = 
    2323 
    2424 1. Using a shell, go to '''/path_to/wifidog/locale''' directory. 
     
    2828 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 ) 
    2929 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''' 
    3131 1. Restart Apache. You will have to do this when you recompile, because .mo binary files are cached by gettext. 
    3232 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. 
    3434