1 Reply Latest reply on Jan 23, 2011 9:04 PM by FlexIntl_feiwang

    Flex library localization

    MartinHviid Level 2

      Hi I have 2 projects like this

       

      library-project

           src

                components

                     SomeComponent.as

           locale

                en_US

                     validator.properties

       

       

      FlexWebApp

           src

                Main.mxml

       

      The library project are then linked to FlexWebApp

      And I have the following compiler arguments in the library project:

      "-locale en_US -source-path=../locale/{locale}"

       

      Main.mxml then includes SomeComponent, and in SomeComponent I then have some stuff localized using resourceManager.getString().

      Put it doesn't get localized, only when I add the locale directory to the FlexWebApp project, and set the compiler arguments there.

       

      But shouldn't it be possible to add the localization of the library components to the library?

       

      Thanks

      Martin