Translations: Difference between revisions

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
(Created page with "= Extracting translations = If you run buildout it should create a script called 'pybabel'. Use it to extract translations like so: <pre> ./bin/pybabel extract -F babel.ini -O...")
 
No edit summary
Line 4: Line 4:


<pre>
<pre>
./bin/pybabel extract -F babel.ini -O mediagoblin/i18n/mediagoblin.pot
./bin/pybabel extract -F babel.ini -o mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po .
</pre>
</pre>

Revision as of 04:55, 7 August 2011

Extracting translations

If you run buildout it should create a script called 'pybabel'. Use it to extract translations like so:

./bin/pybabel extract -F babel.ini -o mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po .