Skip to main content
Participant
April 2, 2010
Question

Unable to Resolve Resource Bundle

  • April 2, 2010
  • 5 replies
  • 13733 views

Hello
When I add more than one language in the Flex compiler, always gives a error.

I leave Flex Compiler thus:-locale = en_US,pt_BR en and do these errors:

  • Description Resource Path Location Type Unable to resolve resource bundle "components" for locale "en_US". Project Unknown Flex Problem
  • Description Resource Path Location Type Unable to resolve resource bundle "core" for locale "en_US". Project Unknown Flex Problem
  • Description Resource Path Location Type Unable to resolve resource bundle "effects" for locale "en_US". Project Unknown Flex Problem
  • Description Resource Path Location Type Unable to resolve resource bundle "layout" for locale "en_US". Project Unknown Flex Problem
  • Description Resource Path Location Type Unable to resolve resource bundle "skins" for locale "en_US". Project Unknown Flex Problem
  • Description Resource Path Location Type Unable to resolve resource bundle "styles" for locale "en_US". Project Unknown Flex Problem

    This topic has been closed for replies.

    5 replies

    October 29, 2012

    I only went to Project menu -> Clean... and all problems disappeared.

    I've got installed Flash Builder 4 and 4.5 on the same machine (WinXP)

    September 14, 2012

    I fixed it adding a generic path to the build path, like this:

    secondary click on the project name (right mouse click)

    -->

    properties

    -->

    Flex Build Path

    -->

    Source path

    -->

    Add folder

    -->

    type "locale\{locale}" in the input text box

    And, additionally, you have to add the parameter to the compiler to indicate what locales you want to compile against. Like it's been said above:

    secondary click on the project name (right mouse click)

    -->

    properties

    -->

    Flex Compiler

    -->

    Additional compiler arguments

    -->

    type "-locale=" followed by a list of the locales you need, separated by comma. For example:

    locale=en_US,es_ES,zh_CN,zh_TW

    The "locale\{locale}" path is added to your project, meaning that it can look for the locales you added as an argument to the compiler and Flash builder replaces the {locale} variable with those locales, so all their paths are automatically added.

    Participant
    October 1, 2012

    Adding framework_rb.swc did it for me as well!!  compiler argumets -locale en_US or -locale=en_US has NO effect.

    Participant
    October 15, 2010

    My error was Unable to resolve resource bundle "core" for locale "en_US"

    It happened when i invoked a Flash Component compiled as Flex Component and added to a FlashBulder Actionscrip project via swc.

    The solution was to include /Applications/cs5/Adobe Flash Builder 4/sdks/4.1.0/frameworks/locale/en_US/framework_rb.swc (compiler argumets like -locale en_US or -locale=en_US had no influence)

    I am using Mac 10.5 + Flashbuilder sdk 4.1 + Flash cs5 11.0.0.485

    (god bless this post)

    Participant
    June 14, 2011

    Thanks, that did it for me!

    I added Adobe Flash Builder 4/sdks/4.1.0/frameworks/locale/en_US/framework_rb.swc to my library path, and all started to work.

    The problems initially started when I had upgraded to Flash Builder 4.5 from Flash Builder 4.  I have Flash component swc files in my project.

    The odd thing - I then removed framework_rb.swc again, did a clean build and the problem did not come back??

    Arquinteg
    Participant
    October 8, 2010

    Well, what works for me is this:

    -locale=es_ES -locale=en_US

    For each locale

    Don't forget the "=" sign

    Hope this help!

    Participating Frequently
    April 2, 2010

    If you do either -locale=en_US or locale=pt_BR does it compile with errors?

    Gordon Smith

    Adobe Flex SDK Team

    Participant
    April 3, 2010

    When i use pt_BR appears with compilation errors, but does not appear to use en_US.
    This only happening in the main MXML of application.

    Inspiring
    April 3, 2010

    You say you have

    locale = en_US,pt_BR en

    That last en is there? I don’t think it should be.

    HTH,

    Carlos