Opened 14 years ago
Last modified 14 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 , 14 years ago
comment:2 by , 14 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 , 14 years ago
| Component: | → Programming |
|---|---|
| Milestone: | → 0.0.4 |
| Owner: | set to |
comment:3 by , 14 years ago
| Milestone: | 0.0.4 → 0.0.5 |
|---|
We release 0.0.4, so I'm bumping this to 0.0.5.
comment:4 by , 14 years ago
| Status: | New → Closed |
|---|
All things are done! See `http://wiki.mediagoblin.org/Translations <http://wiki.mediagoblin.org/Translations>`_ for more details!
Note:
See TracTickets
for help on using tickets.

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.