Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-25986

i18n doesn't work with XML menuBu

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Adobe Flex SDK 4.1 (Release)
    • Fix Version/s: None
    • Component/s: Data Binding
    • Labels:
    • Environment:
      Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 7.x
      Language Found: French

      Description

      Steps to reproduce:
      Create a menu using i18n data binding like in this following code :

      var xmlContent:XML =
      <root>
      <menuitem label=

      {resourceManager.getString('i18n', 'an_i18n_title')}


      state="one"/>
      <menuitem label=

      {resourceManager.getString('i18n', 'an_other_i18n_title')}

      state="two"/>
      <menuitem label=

      {resourceManager.getString('i18n', 'one_more_time')}

      state="three"/>
      </root>;

      var paymentStack:ItemsForRenderer = new ItemsForRenderer();
      paymentStack.title = resourceManager.getString('i18n', 'topBar.firstTitle');
      paymentStack.itemName = "name";

      var stack:ItemsForRenderer = new ItemsForRenderer();
      stack.title = resourceManager.getString('i18n', 'topBar.secondTitle');
      stack.xml = xmlContent;
      stack.targetedView = this.uiPart;

      Define an ComboBox somwhere in your application that allows to switch in an other language.

      Actual Results:
      All the i18n label, button, etc. are updated but never the menu (and all its sub-menu).

      Expected Results:
      All i18n data have to be updated.

      Workaround (if any):
      No workaround found ! And that's the problem...

      Note : this bug appears on windows XP for both internet explorer (6 / 7 / 8) and firefox 3 versions. No idea for others browsers and OS.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adobejira Adobe JIRA
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: