Translations

From GNU MediaGoblin Wiki
(Difference between revisions)
Jump to: navigation, 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...")
 
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 23:55, 6 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 .
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox