Converting translation from properties to XML

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Converting translation from properties to XML

Ján Valkovič
Hi all,
how to convert language files from old properties format to new xml
format? I don't found any FAQ for this
Thanks in advance

ya


Reply | Threaded
Open this post in threaded view
|

Re: Converting translation from properties to XML

Jacques Le Roux
Administrator
Unfortunately this work has been done by students (working with Hans) and the script is not available anymore

Jacques

From: "Ján Valkovic" <[hidden email]>
> Hi all,
> how to convert language files from old properties format to new xml
> format? I don't found any FAQ for this
> Thanks in advance
>
> ya
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Converting translation from properties to XML

Jeroen van der Wal-2
In reply to this post by Ján Valkovič
We've created a tool to import .po (gettext) files into the Ofbiz XML
label files. It shouldn't be hard to use this for property files as
well.

See this issue for details and source code:
https://issues.apache.org/jira/browse/OFBIZ-2008

-Jeroen



2009/4/9 Ján Valkovič <[hidden email]>:
> Hi all,
> how to convert language files from old properties format to new xml
> format? I don't found any FAQ for this
> Thanks in advance
>
> ya
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Converting translation from properties to XML

Ján Valkovič
In reply to this post by Jacques Le Roux
Properties format works in new ofbiz-jaunty too, but what about create
build-in ant script, which automatically converts lang files do xml
format? Not now, sometimes :-)

Dňa Št, 2009-04-09 o 11:49 +0200, Jacques Le Roux napísal:

> Unfortunately this work has been done by students (working with Hans) and the script is not available anymore
>
> Jacques
>
> From: "Ján Valkovic" <[hidden email]>
> > Hi all,
> > how to convert language files from old properties format to new xml
> > format? I don't found any FAQ for this
> > Thanks in advance
> >
> > ya
> >
> >
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Converting translation from properties to XML

Jeroen van der Wal-2
In reply to this post by Jacques Le Roux
We've create a tool to import .po (gettext) files into the Ofbiz XML
format. It shouldn't be hard to use this for property files as well.

See this issue for details and source code:
https://issues.apache.org/jira/browse/OFBIZ-2008

-Jeroen

On Thu, Apr 9, 2009 at 11:49 AM, Jacques Le Roux
<[hidden email]> wrote:

> Unfortunately this work has been done by students (working with Hans) and
> the script is not available anymore
>
> Jacques
>
> From: "Ján Valkovic" <[hidden email]>
>>
>> Hi all,
>> how to convert language files from old properties format to new xml
>> format? I don't found any FAQ for this
>> Thanks in advance
>>
>> ya
>>
>>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Converting translation from properties to XML

Ján Valkovič
In reply to this post by Jeroen van der Wal-2
Thans for reply, meantime i found one possible way to "automatic", 3
step, conversion .properties to .xml:
.properties --->[ RBManager ]---xliff--->[ KBabel ]---po--->[ Po2Ofbiz ]

It's not tested, but i will try it in near future.

ya

Dňa Št, 2009-04-09 o 12:21 +0200, Jeroen van der Wal napísal:

> We've created a tool to import .po (gettext) files into the Ofbiz XML
> label files. It shouldn't be hard to use this for property files as
> well.
>
> See this issue for details and source code:
> https://issues.apache.org/jira/browse/OFBIZ-2008
>
> -Jeroen
>
>
>
> 2009/4/9 Ján Valkovič <[hidden email]>:
> > Hi all,
> > how to convert language files from old properties format to new xml
> > format? I don't found any FAQ for this
> > Thanks in advance
> >
> > ya
> >
> >
> >