ubuntu-bengali-manual team mailing list archive
-
ubuntu-bengali-manual team
-
Mailing list archive
-
Message #05454
[Bug 748446] Re: Find a way to use Launchpad's automatic translations export
I think we can write a plugin for tarmac to do that.
** Tags added: tarmac
--
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to LoCo Team Portal.
https://bugs.launchpad.net/bugs/748446
Title:
Find a way to use Launchpad's automatic translations export
Status in LoCo Team Portal:
Confirmed
Bug description:
Launchpad Translations can automatically import templates and
translations from a branch, but it can also automatically export
translations from Launchpad to a branch. Possible outdated information
about this functionality can be found at
<https://help.launchpad.net/Translations/YourProject/Exports>.
At the moment the translations of the LoCo Directory are manually
exported from Launchpad and then imported into the LoCo Directory. It
would be a lot easier if Launchpad would automatically export all
translations to the branch.
Unfortunately, it does not work with the way Django structures its
locale directory. In order for automatic imports and exports to work,
Launchpad needs to have the translations in the same directory as the
templates, but Django puts them in "locale/XX/LC_MESSAGES/". This
breaks Launchpad.
A possible solution could be to create custom makemessages and
compilemessages commands that store the PO files in same directory as
the POT file, but keep the MO files in the default location, so Django
can find them.
To manage notifications about this bug go to:
https://bugs.launchpad.net/loco-team-portal/+bug/748446/+subscriptions
References