0 Replies Latest reply on Oct 4, 2006 3:20 PM by Poums

    ResourceBundle and MenuBar

    Poums Level 1
      Hi !

      I'm always trying to localize my application.
      Now, i use the ResourceBundle method. Until now, all work fine, except localization of MenuBar items




      <mx:MenuBar height="20" width="134" id="MainDashboardOptionMenuID" labelField="@label">
      ---<mx:XMLList xmlns="">
      ------<menuitem label="{rb.getString('Options')}">
      ---------<menuitem label="{rb.getString('Display')}">
      ------------<menuitem label="{rb.getString('Volume')}" type="check" data="V" />
      ------------...and so on...
      ---------</menuitem>
      ---------... and so on...
      ------</menuitem>
      ---</mx:XMLList>
      </mx:MenuBar>
      Using this code, menubar display only "/menuitem" options.
      Il y use label=" thelabel", menubar is correctly displayed.




      <mx:Label text="{rb.getString('Amount')}"/>
      This code works fine.




      Have you an idea ? Can you help me ?

      Thanks a lot !
      Denis.