mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
387 stars 195 forks source link

Document how to generate translations for your theme and add them to transifex #1735

Open stevenday opened 10 years ago

stevenday commented 10 years ago

The alaveteli docs tell you how the code is translated pretty well: http://alaveteli.org/docs/developers/i18n/ and how these translations are made: http://alaveteli.org/docs/customising/translation/, which is awesome! However, there's a bit of a hole in the info for someone trying to re-use the code with their own theme, about how you go from marking strings in your code to getting them onto transifex for your translator to translate them. It sort-of reads like someone from mySociety has to do that for you?

stevenday commented 10 years ago

So I found the gettext:find_theme task from a bit of digging around in the rake tasks, I think this is what I was looking for - it'd be great if this was documented.

garethrees commented 8 years ago

Looks like I wrote https://github.com/mysociety/alaveteli/wiki/Generate-theme-translations – probably worth porting this to http://alaveteli.org/docs/developers/i18n/.