You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Valentina Sirkova <vs...@iguanait.com> on 2008/03/19 22:33:34 UTC

Question on xml and properties

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.


Re: Question on xml and properties

Posted by Valentina Sirkova <vs...@iguanait.com>.
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


Re: Question on xml and properties

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <vs...@iguanait.com>
>
> 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.
>