Mercurial > kallithea
changeset 2577:4857ed50f498 beta
added format check command into i18n how_to
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 08 Jul 2012 16:01:15 +0200 |
parents | ff28e45ebafb |
children | d24c70ec9312 |
files | rhodecode/i18n/how_to |
diffstat | 1 files changed, 11 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/i18n/how_to Sun Jul 08 15:44:05 2012 +0200 +++ b/rhodecode/i18n/how_to Sun Jul 08 16:01:15 2012 +0200 @@ -4,25 +4,27 @@ #this needs to be done on source codes, preferable default/stable branches -python setup.py extract_messages -> get messages from project -python setup.py init_catalog -l pl -> create a language directory for <pl> lang -edit the new po file with poedit or any other editor -python setup.py compile_catalog -> create translation files +python setup.py extract_messages <- get messages from project +python setup.py init_catalog -l pl <- create a language directory for <pl> lang +#edit the new po file with poedit or any other editor +msgfmt -f -c <updated_file.po> <- check format and errors +python setup.py compile_catalog <- create translation files ############# # to update # ############# -python setup.py extract_messages -> get messages from project -python setup.py update_catalog -> to update the translations -edit the new updated po file with poedit -python setup.py compile_catalog -> create translation files +python setup.py extract_messages <- get messages from project +python setup.py update_catalog <- to update the translations +#edit the new updated po file with poedit +msgfmt -f -c <updated_file.po> <- check format and errors +python setup.py compile_catalog <- create translation files ################### # change language # ################### -`lang=en` +`lang=pl` in the .ini file \ No newline at end of file