View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000858Ecere SDKi18npublic2013-04-24 13:572014-05-19 01:33
Assigned Toredj 
PriorityimmediateSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version0.44.07 
Target Version0.44.10 64Fixed in Version0.44.10 64 
Summary0000858: Translation templates (.pot) improvements
Description- Make .pot hierarchy match LaunchPad
- Have a separate Makefile rule (either still with 'ecs' but a different option, or different tool) to generate them

 We'll build them when we really want to (make pots?), and commit them all as one rather than dealing with neverending mismatches.
TagsNo tags attached.
Attached Files

- Relationships
related to 0001068new Produce internationalization templates with a tool separate from ecs 

-  Notes
redj (administrator)
2013-05-05 19:55
edited on: 2013-05-22 23:28

implemented a solution in [^]

redj (administrator)
2013-05-06 01:47

Make .pot hierarchy match LaunchPad -- how do we do this? what is this?
jerome (administrator)
2013-05-06 02:13
edited on: 2013-05-06 02:14

As per [^]

Translation files should be in the same directory as the template to which they relate.
The translation files should be named for the appropriate language code: e.g. pt_BR.po Portugese as spoken in Brazil or fr.po for French as spoken in France. Launchpad only accepts languages that have an ISO 639 code.

There are two exceptions to this rule: English as spoken in the UK must be named en_GB.po and Chinese. Chinese exists in Launchpad only as three variants: Simplified Chinese (zh_CN), Traditional Chinese (zh_TW) and Hong Kong Chinese (zh_HK).

When naming translation files, you should leave out the country code if it is the primary or original country where that language is spoken. For example: pt for Portuguese, not pt_PT.

Sample directory layout
We recommend the standard GNU Gettext directory and file layout:


jerome (administrator)
2013-05-06 02:17

It is quite different than our current directory layout, which has e.g.:


We'll need to figure out what we need to change.
Ideally we still want our i18n library to read from the current format, but supporting the Launchpad layout would make it easier to import work from Launchpad translators (perhaps possibly even automatically).
redj (administrator)
2013-06-05 12:28

btw, the way the disabling of .pot files generation by ecp/ecc was implemented
is an option. try the following:

mingw-make OUTPUT_POT=1

was broken, fixed by [^]
jerome (administrator)
2013-06-05 13:49

This would require a clean though to output the pots, wouldn't it?

Theoretically, of only the objects so that ecs gets run again, but in practice of everything since we don't have a rule to clean just that.

Anyways the whole thing shouldn't really be done by ecs, which is why one of the task would be to take that out and have a 'make pots' rule which just generates the templates. That's part 1 of this task.

Part 2 is to match up to the Launchpad layout so it's easy to bring in new translations. (And we can test it all out doing the french translation :))
jerome (administrator)
2014-03-18 16:55

Since all of the original issues stated in the description are now within reach, further improvements will be handled by a separate issue ( 0001068 ).
jerome (administrator)
2014-03-19 00:55

Implemented by: [^]
jerome (administrator)
2014-03-19 07:26

Tweaked with: [^]
jerome (administrator)
2014-03-21 02:36

Tweaked by: [^]

- Issue History
Date Modified Username Field Change
2013-04-24 13:57 redj New Issue
2013-04-24 19:57 jerome Priority normal => immediate
2013-05-01 02:44 jerome Summary Make .pot hierarchy match LaunchPad => Translation templates (.pot) improvements
2013-05-01 02:44 jerome Description Updated
2013-05-05 19:55 redj Note Added: 0000792
2013-05-05 19:59 jerome Status new => assigned
2013-05-05 19:59 jerome Assigned To => jerome
2013-05-05 19:59 jerome Assigned To jerome => redj
2013-05-05 20:58 redj Note Edited: 0000792
2013-05-06 01:47 redj Assigned To redj => jerome
2013-05-06 01:47 redj Note Added: 0000795
2013-05-06 01:51 redj Note Edited: 0000792
2013-05-06 02:13 jerome Note Added: 0000797
2013-05-06 02:14 jerome Note Edited: 0000797
2013-05-06 02:17 jerome Note Added: 0000798
2013-05-06 02:17 jerome Assigned To jerome => redj
2013-05-20 23:18 redj Note Edited: 0000792
2013-05-22 23:28 redj Note Edited: 0000792
2013-06-05 12:28 redj Note Added: 0000882
2013-06-05 13:49 jerome Note Added: 0000884
2014-03-18 16:52 jerome Target Version 0.44.12 Fixes => 0.44.10 64
2014-03-18 16:54 jerome Relationship added related to 0001068
2014-03-18 16:55 jerome Note Added: 0001203
2014-03-19 00:55 jerome Status assigned => resolved
2014-03-19 00:55 jerome Fixed in Version => 0.44.10 64
2014-03-19 00:55 jerome Resolution open => fixed
2014-03-19 00:55 jerome Note Added: 0001204
2014-03-19 07:26 jerome Note Added: 0001205
2014-03-21 02:36 jerome Note Added: 0001206
2014-05-19 01:33 jerome Status resolved => closed

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker