/doc/translations.txt

https://bitbucket.org/atlassiansummit073/atlassian-bitbucket-2012 · Plain Text · 24 lines · 21 code · 3 blank · 0 comment · 0 complexity · aef611f9bdb27aea7ef8cd5b9830760a MD5 · raw file

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