cancel
Showing results for 
Search instead for 
Did you mean: 

Localization of the hmc structure

Former Member
0 Kudos

Hi all, I have a problem. I have this part of hmc.xml structure:

 <type name="Order" mode="append"> <!-- LOLLO -->
         <organizer>
             <search mode="append">
                 <condition attribute="versionID" operator="is null" />
             </search>
             <editor mode="append">
                 <tab name="positions_and_prices" position="0" mode="append">
                       <section name="original_totals" position="1" mode="append">
                           <listlayout>
                               <attribute name="subTotalOriginal" descriptionattribute="currency" labelwidth="530" width="124">
                                 <doubleeditor>
                                     <parameter key="align" value="right"/>
                                 </doubleeditor>
                             </attribute>
                             <attribute name="totalDiscountsOriginal" descriptionattribute="currency" labelwidth="530" width="124">
                                 <doubleeditor>
                                     <parameter key="align" value="right"/>
                                 </doubleeditor>
                             </attribute>

I would translate the section original_totals. I tried adding a code like

section.original_totals=OriginalTotals

but nothing happens. How can I reference this section? Here there is a screenshot of the structure:

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Irene,

You put section.original_totals=OriginalTotals under folder : hmc/resouces/......./locales_$lang.properties. I hope this will work for you.

BG

Hassan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Irene,

You can either use

 original_totals=OriginalTotals

in your properties file or change section name to section.original_totals in hmc.xml.

Former Member
0 Kudos

What's the properties file?

Former Member
0 Kudos

The one where you've put section.original_totals=OriginalTotals