*UiLabels.xml v. *UiLabels.properties

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

*UiLabels.xml v. *UiLabels.properties

frabjousB
Hi,

Is there any preference for storing UI strings in a .xml versus a .properties file?

Thanks in advance!

Reply | Threaded
Open this post in threaded view
|

Re: *UiLabels.xml v. *UiLabels.properties

BJ Freeman
the UIlabels.xml are setup for internationalization


frabjousB sent the following on 8/3/2010 10:55 AM:
>
> Hi,
>
> Is there any preference for storing UI strings in a .xml versus a
> .properties file?
>
> Thanks in advance!
>
>
Reply | Threaded
Open this post in threaded view
|

Re: *UiLabels.xml v. *UiLabels.properties

Adrian Crum
In reply to this post by frabjousB
The XML file is easier to edit in UTF-8 editors.

-Adrian

On 8/3/2010 10:55 AM, frabjousB wrote:
>
> Hi,
>
> Is there any preference for storing UI strings in a .xml versus a
> .properties file?
>
> Thanks in advance!
>
>
Reply | Threaded
Open this post in threaded view
|

Re: *UiLabels.xml v. *UiLabels.properties

Jacques Le Roux
Administrator
Thus OOTB we prefer to use XML

Jacques

From: "Adrian Crum" <[hidden email]>

> The XML file is easier to edit in UTF-8 editors.
>
> -Adrian
>
> On 8/3/2010 10:55 AM, frabjousB wrote:
>>
>> Hi,
>>
>> Is there any preference for storing UI strings in a .xml versus a
>> .properties file?
>>
>> Thanks in advance!
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: *UiLabels.xml v. *UiLabels.properties

frabjousB
Thanks for the responses everyone. I came across this article: http://www.opensourcestrategies.com/ofbiz/internationalizing_ofbiz.php and was wondering if there was anything to be gained by using .properties instead.

That is, from a performance perspective, does one format do better than another? Or, is the preference for XML simply based on ease of editing/file maintenance, etc.?

Thank you again!
Reply | Threaded
Open this post in threaded view
|

Re: *UiLabels.xml v. *UiLabels.properties

Adrian Crum
That is a very old document. All formats will perform the same because
UI labels are cached in memory.

-Adrian

On 8/3/2010 12:18 PM, frabjousB wrote:

>
> Thanks for the responses everyone. I came across this article:
> http://www.opensourcestrategies.com/ofbiz/internationalizing_ofbiz.php and
> was wondering if there was anything to be gained by using .properties
> instead.
>
> That is, from a performance perspective, does one format do better than
> another? Or, is the preference for XML simply based on ease of editing/file
> maintenance, etc.?
>
> Thank you again!
Reply | Threaded
Open this post in threaded view
|

Re: *UiLabels.xml v. *UiLabels.properties

frabjousB
Excellent. Thank you!