[Potlatch-dev] i18n using babelFx
Steve Bennett
stevagewp at gmail.com
Wed Feb 23 23:12:07 GMT 2011
On Wed, Feb 23, 2011 at 2:10 AM, NopMap <ekkehart at gmx.de> wrote:
> Just to explain the situation: I am running an (unmodified) P2, but I have
> built a custom map_feature file from scratch. Of course it would be good to
> translate both.
I wonder how this would best work? Maybe we could have auxiliary
map_features files that only serve to change the descriptions and
names. Something like:
paths.xml:
<feature name="Cycle path" id="cycleway">
...
</feature.
paths_fr.xml
<feature ref="cycleway" name="Piste cyclable" />
But it could get complicated trying to assign id's to every element,
including <input>'s etc.
Or do you simply have lists of translations, with contexts, like
"cycle path"->"piste cyclable"? That would be very fragile though,
breaking every time a description in English changed...
Steve
More information about the Potlatch-dev
mailing list