On Thu, Jun 18, 2009 at 2:03 PM, Mario Ernst<[email protected]> wrote:
> As I tried to describe: Compiling with Flex Builder gives a different
> result.
> Localization of the Strings in the main module does work, localization of
> the String of the lib does not work.
> On a locale change (English -> German) the Strings of the lib remain
> English.
Look at the structure of your lib .swc with WinZip or "jar -tf <path
to swc>". You should have an en_US/r2.properties and an
de_DE/r2.properties in there.
Then, in your application, where you use the lib, you need to make
sure you load the correct resource bundle like this (mxml):
[ResourceBundle("r2")]
Your app won't know to load the lib resource bundle without this.
Logan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---