Question on xml and properties

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

Question on xml and properties

Valentina Sirkova
Hi,
I wanted to ask if it is possible and if it is a Good practice to use together .properties file and .xmls. For example you can keep some of your spanish labels in .properties file and the rest in .xml and if you don`t find the spanish labels in the .property file you could then search these spanish lables in the .xml.(i think right now if you don`t find them in the property file the "en" locale is used although spanish translations might exist in the xml)
thanks : Valentina
Reply | Threaded
Open this post in threaded view
|

Re: Question on xml and properties

Jacques Le Roux
Administrator
AFAIK, properties files are deprecated in trunk for i18n/l10n. You should better use only xml files. Why did you ask this question ?
Do you see any problems ?

Jacques

From: "Valentina Sirkova" <[hidden email]>

>
> Hi,
> I wanted to ask if it is possible and if it is a Good practice to use
> together .properties file and .xmls. For example you can keep some of your
> spanish labels in .properties file and the rest in .xml and if you don`t
> find the spanish labels in the .property file you could then search these
> spanish lables in the .xml.(i think right now if you don`t find them in the
> property file the "en" locale is used although spanish translations might
> exist in the xml)
> thanks : Valentina
> --
> View this message in context: http://www.nabble.com/Question-on-xml-and-properties-tp16150163p16150163.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Question on xml and properties

Valentina Sirkova
On Thu, 2008-03-20 at 12:19 +0100, Jacques Le Roux wrote:
> AFAIK, properties files are deprecated in trunk for i18n/l10n. You should better use only xml files. Why did you ask this question ?
> Do you see any problems ?
>
> Jacques

Thanks for the reply Jacques,

No I see absolutely no problems. Yes I know OFBiz` s new policy is the
xmls. I was taking thorough look at the code the other day and got
qurious about that but I was not aware of the deprecation which is why I
asked.

Yes we are also moving to xmls.
have a great day : Valentina