[GMG-Devel] Migrating from transifex (bis)

Boris Bobrov breton at cynicmansion.ru
Sun Nov 16 08:16:01 EST 2014


On Sunday 16 November 2014 08:26:57 Ineiev wrote:
> On Sun, Nov 16, 2014 at 03:16:15AM +0300, Boris Bobrov wrote:
> > I think that we could move all our <lang>/LC_MESSAGES/mediagoblin.po
> > files to their <lang>/LC_MESSAGES/mediagoblin.<lang>.po. Am I right?
> 
> It would be great for Pootle admins: they wouldn't have to add links
> for new languages.

Great, then I'll do it today.

> > I also don't quite understand how to add new languages. Suppose I want to
> > add Tigrinya language. What should I do?
> 
> Push the PO to MediaGoblin GIT master; with current naming convention,
> ask Pootle admins; with <lang>/LC_MESSAGES/mediagoblin.<lang>.po, either
> ask the admins or add the language to the project in Pootle, then
> [Projects https://chapters.gnu.org/projects/] ->
> [mediagoblin https://chapters.gnu.org/projects/mediagoblin/] ->
> [Tigrinya https://chapters.gnu.org/ti/mediagoblin/] ->
> [Update all from VCS https://chapters.gnu.org/ti/mediagoblin/update_all],
> [Rescan project files https://chapters.gnu.org/ti/mediagoblin/rescan]

While reading Pootle docs I've found that it can generate a PO from a POT:
http://pootle.readthedocs.org/en/latest/features/templates.html#starting-a-new-translation

It also seems that pybabel generates POT. How can we make Pootle act on this POT?

-- 
С наилучшими пожеланиями,
Boris


More information about the devel mailing list