diff --git a/kallithea/i18n/how_to b/kallithea/i18n/how_to --- a/kallithea/i18n/how_to +++ b/kallithea/i18n/how_to @@ -50,11 +50,11 @@ Manual creation of a new language transl In the prepared development environment, run the following to ensure all translation strings are extracted and up-to-date:: - python setup.py extract_messages + python2 setup.py extract_messages Create new language by executing following command:: - python setup.py init_catalog -l + python2 setup.py init_catalog -l This creates a new translation under directory `kallithea/i18n/` based on the translation template file, `kallithea/i18n/kallithea.pot`. @@ -67,7 +67,7 @@ translation file for errors by executing Finally, compile the translations:: - python setup.py compile_catalog -l + python2 setup.py compile_catalog -l Updating translations @@ -75,11 +75,11 @@ Updating translations Extract the latest versions of strings for translation by running:: - python setup.py extract_messages + python2 setup.py extract_messages Update the PO file by doing:: - python setup.py update_catalog -l + python2 setup.py update_catalog -l Edit the new updated translation file. Repeat all steps after `init_catalog` step from new translation instructions