You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "mrisaliti@libero.it" <mr...@libero.it> on 2009/01/14 10:40:59 UTC

Labels cleaning situation

Hi to all,

I have completed to cleaning a lot of labels into the applications folder and I would like to start to cleaning the labels on specialpurpose folder.

I would like to put a prefix on labels for the following component :
MyPage, MyPortal, Pos.

After that most of the labels start with the component name as prefix so it could be better to share labels between various components.

There are still some duplicated labels to clean and it can be visible with the new Label Manager tool (they are in yellow color) and I suggest to use this standard for the people that will create new labels into OFBiz.

Let me know your toughts.

Thanks
Marco


Re: Labels cleaning situation

Posted by Jacques Le Roux <ja...@les7arts.com>.
Yes I agree with Jeroen. For the moment, in such case I duplicate the labels as comments on the same line to, at least, not lose the 
information.
I will try to have a look at OFBIZ-2008...

Jacques

From: "Jeroen van der Wal" <jv...@stromboli.it>
> Be careful to use the same label across applications because a word or
> sentence in one language can be translated differently based on the
> context. Have proper tooling to indentify and translate similar labels
> instead.
>
> When editing the labels in Gettext format using an editor like Poedit
> you can automatically translate duplicate strings. We've provided some
> tooling to do that. Check this issue:
> https://issues.apache.org/jira/browse/OFBIZ-2008
>
> -Jeroen
>
>
> On Wed, Jan 14, 2009 at 10:54 AM, Sven Wesley <sv...@gmail.com> wrote:
>> +1
>>
>> There must be obselete language strings as well, I've been translating the
>> same text several times even in the same file.
>>
>>
>>
>>> ----- mrisaliti@libero.it wrote:
>>>
>>> > Hi to all,
>>> >
>>> > I have completed to cleaning a lot of labels into the applications
>>> > folder and I would like to start to cleaning the labels on
>>> > specialpurpose folder.
>>> >
>>> > I would like to put a prefix on labels for the following component :
>>> > MyPage, MyPortal, Pos.
>>> >
>>> > After that most of the labels start with the component name as prefix
>>> > so it could be better to share labels between various components.
>>> >
>>> > There are still some duplicated labels to clean and it can be visible
>>> > with the new Label Manager tool (they are in yellow color) and I
>>> > suggest to use this standard for the people that will create new
>>> > labels into OFBiz.
>>> >
>>> > Let me know your toughts.
>>> >
>>> > Thanks
>>> > Marco
>>>
>>
> 


Re: Labels cleaning situation

Posted by Jeroen van der Wal <jv...@stromboli.it>.
Be careful to use the same label across applications because a word or
sentence in one language can be translated differently based on the
context. Have proper tooling to indentify and translate similar labels
instead.

When editing the labels in Gettext format using an editor like Poedit
you can automatically translate duplicate strings. We've provided some
tooling to do that. Check this issue:
https://issues.apache.org/jira/browse/OFBIZ-2008

-Jeroen


On Wed, Jan 14, 2009 at 10:54 AM, Sven Wesley <sv...@gmail.com> wrote:
> +1
>
> There must be obselete language strings as well, I've been translating the
> same text several times even in the same file.
>
>
>
>> ----- mrisaliti@libero.it wrote:
>>
>> > Hi to all,
>> >
>> > I have completed to cleaning a lot of labels into the applications
>> > folder and I would like to start to cleaning the labels on
>> > specialpurpose folder.
>> >
>> > I would like to put a prefix on labels for the following component :
>> > MyPage, MyPortal, Pos.
>> >
>> > After that most of the labels start with the component name as prefix
>> > so it could be better to share labels between various components.
>> >
>> > There are still some duplicated labels to clean and it can be visible
>> > with the new Label Manager tool (they are in yellow color) and I
>> > suggest to use this standard for the people that will create new
>> > labels into OFBiz.
>> >
>> > Let me know your toughts.
>> >
>> > Thanks
>> > Marco
>>
>

Re: Labels cleaning situation

Posted by Sven Wesley <sv...@gmail.com>.
+1

There must be obselete language strings as well, I've been translating the
same text several times even in the same file.



> ----- mrisaliti@libero.it wrote:
>
> > Hi to all,
> >
> > I have completed to cleaning a lot of labels into the applications
> > folder and I would like to start to cleaning the labels on
> > specialpurpose folder.
> >
> > I would like to put a prefix on labels for the following component :
> > MyPage, MyPortal, Pos.
> >
> > After that most of the labels start with the component name as prefix
> > so it could be better to share labels between various components.
> >
> > There are still some duplicated labels to clean and it can be visible
> > with the new Label Manager tool (they are in yellow color) and I
> > suggest to use this standard for the people that will create new
> > labels into OFBiz.
> >
> > Let me know your toughts.
> >
> > Thanks
> > Marco
>

Re: Labels cleaning situation

Posted by Ashish Vijaywargiya <as...@hotwaxmedia.com>.
+1
----- mrisaliti@libero.it wrote:

> Hi to all,
> 
> I have completed to cleaning a lot of labels into the applications
> folder and I would like to start to cleaning the labels on
> specialpurpose folder.
> 
> I would like to put a prefix on labels for the following component :
> MyPage, MyPortal, Pos.
> 
> After that most of the labels start with the component name as prefix
> so it could be better to share labels between various components.
> 
> There are still some duplicated labels to clean and it can be visible
> with the new Label Manager tool (they are in yellow color) and I
> suggest to use this standard for the people that will create new
> labels into OFBiz.
> 
> Let me know your toughts.
> 
> Thanks
> Marco