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 |
+1
----- [hidden email] 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 |
+1
There must be obselete language strings as well, I've been translating the same text several times even in the same file. > ----- [hidden email] 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 > |
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 <[hidden email]> wrote: > +1 > > There must be obselete language strings as well, I've been translating the > same text several times even in the same file. > > > >> ----- [hidden email] 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 >> > |
Administrator
|
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" <[hidden email]> > 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 <[hidden email]> wrote: >> +1 >> >> There must be obselete language strings as well, I've been translating the >> same text several times even in the same file. >> >> >> >>> ----- [hidden email] 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 >>> >> > |
Free forum by Nabble | Edit this page |