Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Resource Bundles in source missing

Avatar

Level 3

I can't seem to locate any resource bundle properties files in the source...isn't this available also?  I need to change some labeling, specifically:

    _label.text = Localization.impl.getString(ROLE_STRINGS[_data.role]);

thanks,

David

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi there,

In order to be Flex-independent, we had to build a Localization Framework

that didn't depend on resource bundles. That said, you should be able to

plug resource bundles in pretty easily.

Localization.impl = new MyLocalizationManager();

Then, make a MyLocalizationManager class which implements

ILocalizationManager - the method you specifically need to implement is

getString(). You can pull the string from your resource bundles in that

method.

nigel

View solution in original post

3 Replies

Avatar

Employee

Hi David,

We just have a place holder for Localization for LCCS, so the code snippet you sent does nothing. So you can hard code the string you want.

Thanks

Arun

Avatar

Correct answer by
Level 10

Hi there,

In order to be Flex-independent, we had to build a Localization Framework

that didn't depend on resource bundles. That said, you should be able to

plug resource bundles in pretty easily.

Localization.impl = new MyLocalizationManager();

Then, make a MyLocalizationManager class which implements

ILocalizationManager - the method you specifically need to implement is

getString(). You can pull the string from your resource bundles in that

method.

nigel

Avatar

Level 3

Thanks, I see how this is working...made the assumption this was using standard resource bundles...thanks!