How to display contries in my locale ?

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

How to display contries in my locale ?

sqlien
Hi,

I want to display contries in my <drop-down> tag in a form widget in french,
the contries in Geo entity are stored in french but they are displayed in english in my form (but ordered by french name !!!!!!! )

here is my code :

<field name="addressCountryStructure" parameter-name="addressCountry" title="${uiLabelMap.PartyFormAddressCountry}" required-field="true">
                        <drop-down allow-empty="true" allow-multiple="false" current="selected">
                                <entity-options description="${geoName}" entity-name="Geo" cache="true" key-field-name="geoId">
                                        <entity-constraint name="geoTypeId" operator="equals" value="COUNTRY" />
                                        <entity-order-by field-name="geoName"/>
                                </entity-options>
                        </drop-down>
</field>

Thank you for you replies