Skip to Content
author's profile photo Former Member
Former Member

Localization of the hmc structure

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:

alt text

2991-asdasdasd.png (85.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 15, 2015 at 04:27 PM

    Hi Irene,

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

    BG

    Hassan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 15, 2015 at 12:17 PM

    Hi Irene,

    You can either use

     original_totals=OriginalTotals
    

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.