You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Kranti Agrawal <kr...@gmail.com> on 2010/07/19 06:54:44 UTC

Locale description on FTL

Hi,
In Price rules, I want to display a different description instead of the
default one.
The method used is get("description",locale).
I am not getting the significance of Locale there. Could anyone please throw
some light on it.

Regards,
Kranti Agrawal
krantiagrawal.blogspot.com

Re: Locale description on FTL

Posted by BJ Freeman <bj...@free-man.net>.
https://demo-trunk.ofbiz.apache.org/webtools/control/SearchLabels
depending on that state you come across you many have to expand the find 
fields.
this is the easiest way.

Kranti Agrawal sent the following on 7/18/2010 9:54 PM:
> Hi,
> In Price rules, I want to display a different description instead of the
> default one.
> The method used is get("description",locale).
> I am not getting the significance of Locale there. Could anyone please throw
> some light on it.
>
> Regards,
> Kranti Agrawal
> krantiagrawal.blogspot.com
>

Re: Locale description on FTL

Posted by Scott Gray <sc...@hotwaxmedia.com>.
That's used to get an internationalized version of the description, typically only used for seed data.  See CommonEntityLabels.xml to better understand where the labels come from.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/07/2010, at 4:54 PM, Kranti Agrawal wrote:

> Hi,
> In Price rules, I want to display a different description instead of the
> default one.
> The method used is get("description",locale).
> I am not getting the significance of Locale there. Could anyone please throw
> some light on it.
> 
> Regards,
> Kranti Agrawal
> krantiagrawal.blogspot.com