Opened 13 years ago

Last modified 13 years ago

#33 closed defect (FIXED)

Translations

Reported by: Christopher Allan Webber Owned by: Christopher Allan Webber
Priority: minor Milestone: 0.0.5
Component: programming Keywords:
Cc: Parent Tickets:

Description

We need to be able to support translations! This is a multi-step
process:


-  we need to be able to put
   `translations in the templates <http://jinja.pocoo.org/docs/extensions/#i18n-extension>`_
-  we need to be able to put them in normal python code
-  we need to be able to extract translations
-  we need to put translations up somewhere where people can start
   translating them (Transifex?)



Change History (6)

comment:1 by Christopher Allan Webber, 13 years ago

Added translation extraction support with Babel. Doesn't really do
anything yet (the translations aren't hooked up, just extract) but
it **does** work:

::

    ./bin/pybabel extract -F babel.ini . 

Will extract translations to stdout.



comment:2 by Christopher Allan Webber, 13 years ago

Mostly done then. We can now extract messages and mark things for
translations, and if translated and checked into the repo, you
should be able to see translations if things are set right, but
since there's nothing but english, testing that is not possible yet
unless you fake some translations.

We're also on Transifex now, but there's nothing quite yet to
translate.

`https://www.transifex.net/projects/p/mediagoblin/ <https://www.transifex.net/projects/p/mediagoblin/>`_



comment:3 by Christopher Allan Webber, 13 years ago

Component: Programming
Milestone: 0.0.4
Owner: set to Christopher Webber

comment:3 by Will Kahn-Greene, 13 years ago

Milestone: 0.0.40.0.5
We release 0.0.4, so I'm bumping this to 0.0.5.



comment:4 by Christopher Allan Webber, 13 years ago

Status: NewClosed
All things are done! See
`http://wiki.mediagoblin.org/Translations <http://wiki.mediagoblin.org/Translations>`_
for more details!



comment:5 by Will Kahn-Greene, 12 years ago

The original url for this bug was http://bugs.foocorp.net/issues/300 .

Note: See TracTickets for help on using tickets.