/doc/translations.txt
Plain Text | 24 lines | 21 code | 3 blank | 0 comment | 0 complexity | aef611f9bdb27aea7ef8cd5b9830760a MD5 | raw file
Possible License(s): GPL-2.0
1Python Sudoku Translations HowTo 2 3 4Add a new translation: 5To add a new translation follow these instructions: 6- Change directory to po/ 7- Execute "l10n --update" to get a updated version of pythonsudoku.pot. 8- Copy pythonsudoku.pot to LANGUAGE.po (for example gl.po). 9- Translate the strings. 10- Set the charset to UTF-8 and save the file as UTF-8 (iconv(1) for help). 11- Execute "l10n --install" to convert the translation to GNU gettext format 12 and move it to the correct directory. 13 14Update a translation: 15To update a already created translation, due to new translatable strings added 16to sources or deleted strings, follow these instructions: 17- Change directory to po/ 18- Execute "l10n --update". 19- Execute "l10n --check" to see the changed strings. 20- If there are changes, open LANGUAGE.po (for example gl.po), change the 21 strings and remove the "#, fuzzy" lines. 22- Set the charset to UTF-8 and save the file as UTF-8 (iconv(1) for help). 23- Execute "l10n --install" to convert the translation to GNU gettext format 24 and move it to the correct directory.