You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pranay Pandey (JIRA)" <ji...@apache.org> on 2015/01/17 12:25:34 UTC

[jira] [Closed] (OFBIZ-2879) need to localize Feature description, Feature Type Description, etc

     [ https://issues.apache.org/jira/browse/OFBIZ-2879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pranay Pandey closed OFBIZ-2879.
--------------------------------
    Resolution: Not a Problem

Hi Wai,

This is achievable in OFBiz using UI Labels and can be done this way-
{code}
<#assign productFeatureType = delegator.findOne("ProductFeatureType", {"productFeatureTypeId" : feature.productFeatureTypeId}, false)/>
<div>${productFeatureType.get("description",locale)}: 
  <select id="FT${feature.productFeatureTypeId}" name="FT${feature.productFeatureTypeId}" onchange="javascript:checkRadioButton();">
    <option value="select" selected="selected">${uiLabelMap.EcommerceSelectOption}</option>
  </select>
</div>

Ui Label can be defined for the same:- 
<property key="ProductFeatureType.description.COLOR">
    <value xml:lang="de">Farbe</value>
    <value xml:lang="en">Color</value>
    <value xml:lang="es">Color</value>
</property>
{code}

Please use user/dev mailing list for the questions.

> need to localize Feature description, Feature Type Description, etc
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-2879
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2879
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Wai Tam
>            Assignee: Pranay Pandey
>
> when configuring features.  there is not way to localize
> 	feature description
> 	feature type description
> 	feature category...???dont know if it is necessary to localize this
> 	feature group description...???dont know if it is necessary to localize this
> This would present a problem as users of ecommerce would see these description.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)