<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US' in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222250#M6915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the feedback.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end, it was an issue of mixing the versions.&amp;nbsp; I built a site in Flex 3.1 using application builder and added the widget with "Manage Custom Widgets".&amp;nbsp; The tool is functioning exactly as it was intended to do. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A point of interest is that while the tool is working, I am still getting the components error, but only when the site debug is on.&amp;nbsp; I've been doing my homework on how the code is using the resource bundles, though, and expect I'll have it sorted out soon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert (and crew), I'll say thanks again for the document on widget migration that you put out.&amp;nbsp; I've done some coding, but had no experience in working in the Flex environment when I was asked to take a shot at migrating an old 1.x widget into the current environment.&amp;nbsp; It was the single best resource that I had in the process.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Corey&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 17:15:18 GMT</pubDate>
    <dc:creator>CoreySmolik1</dc:creator>
    <dc:date>2013-02-21T17:15:18Z</dc:date>
    <item>
      <title>FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222245#M6910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've seen this issue on some of the Flex forums at Adobe and Esri, but have not been able to reach a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started with custom written widgets designed to work in ArcGIS 1.x API for Flex and have migrated them to work on the ArcGIS 3.1 API for Flex.&amp;nbsp; There is one main widget, a modified query widget (which queries a map service for specific feature types) and 2 others that serve as popups, makings graphs from SQL data returned as an xml document, facilitated by a web service.&amp;nbsp; I know it might be a bit verbose, but I am trying to paint a clear picture of what I have done so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have successfully gotten the widgets to work in the FlashBuilder 4.6 environment using the out-of-the-box ArcGIS API for Flex 3.1 , but my goal is to take the widgets from that environment into an existing flexviewer website, which was modified by another user using Application Builder.&amp;nbsp; (A big thanks to the article by Robert Scheitlin, Bjorn Svensson, and Derek Law.&amp;nbsp; Just seeing it work in my development environment made my weekend a couple of weekends ago.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've added the SWF's to a subfolder in our staging website (a copy of our live website) and set up the config.xml and widget config xml appropriately.&amp;nbsp; The primary query widget displays, but will not display the query results.&amp;nbsp; I get an error message with the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Could not find compiled resource bundle 'components' for locale 'en_US'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::FlexModuleFactory/installCompiledResourceBundles()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::FlexModuleFactory/docFrameHandler()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::FlexModuleFactory/docFrameListener()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a host of other errors, but I assume that they are results of asynchronous function calls continuing after the first is stymied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used a variety of compiler options from the standard choices and checkboxes.&amp;nbsp; for example, I am using the default Flex SDK (4.6 for my version), the minimum version of Flash Player required by the Flex SDK.&amp;nbsp; I have all of the compiler options checked (Flash Text Engine in MX components, copy non-embedded files to output folder, etc...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am compiling with the following additional compiler arguments: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-locale en_US -source-path=locale/{locale} -keep-all-type-selectors=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-resource-bundle-list=c:\bundles.txt^&amp;nbsp; (just to get a list of resource bundles to include)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-include-resource-bundles=ESRIMessages,SharedResources,charts,collections,components,containers,controls,core,effects,formatters,layout,logging,messaging,osmf,rpc,skins,sparkEffects,styles,textLayout,utils,validators&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone can help, I would greatly appreciate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 18:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222245#M6910</guid>
      <dc:creator>CoreySmolik1</dc:creator>
      <dc:date>2013-02-11T18:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222246#M6911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Corey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am not sure why you have all those extra compiler arguments but when I build a widget for deployment I use these arguments to avoid the swf only being set for a specific locale:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e NO Locale&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;-locale -source-path=locale/{locale} -keep-all-type-selectors=true&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 19:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222246#M6911</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-02-11T19:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222247#M6912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response.&amp;nbsp; I got the "could not resolve "ViewerStrings" error when I compiled with those arguments.&amp;nbsp; I passed my source on to ESRI, where it is currently picking it apart.&amp;nbsp; They think that some of the code that I "borrowed" from the older form is affecting the compiler, though if it compiles for a debug, I can't imagine why.&amp;nbsp; I'll post the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something that I had not considered is that our site is built using 3.0 API, but I am developing in 3.1.&amp;nbsp; I'll try and get a 3.0 swc and build a project using that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:28:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222247#M6912</guid>
      <dc:creator>CoreySmolik1</dc:creator>
      <dc:date>2013-02-13T11:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222248#M6913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Corey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The 3.0 and 3.1 thing is likely the issue. It is not normally a good idea to mix releases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:56:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222248#M6913</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-02-13T11:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222249#M6914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using 3.0 - it was required to compile the custom widget with the Flex compiler arguments -locale= , indicating an empty locale. This is no longer required with version 3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Packaging_custom_widgets_for_application_builder/01m30000004n000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Packaging_custom_widgets_for_application_builder/01m30000004n000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In 3.1 this changed, take a look at &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/What_s_new_in_the_3_1_ArcGIS_Viewer_for_Flex/01m300000011000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/What_s_new_in_the_3_1_ArcGIS_Viewer_for_Flex/01m300000011000000/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where it mentions - "The line [ResourceBundle("ViewerStrings")] was removed from the source code's BaseWidget class. It is no longer necessary to compile custom widgets using the Flex Compiler argument for an empty locale, -locale= "&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 14:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222249#M6914</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2013-02-20T14:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222250#M6915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the feedback.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end, it was an issue of mixing the versions.&amp;nbsp; I built a site in Flex 3.1 using application builder and added the widget with "Manage Custom Widgets".&amp;nbsp; The tool is functioning exactly as it was intended to do. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A point of interest is that while the tool is working, I am still getting the components error, but only when the site debug is on.&amp;nbsp; I've been doing my homework on how the code is using the resource bundles, though, and expect I'll have it sorted out soon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert (and crew), I'll say thanks again for the document on widget migration that you put out.&amp;nbsp; I've done some coding, but had no experience in working in the Flex environment when I was asked to take a shot at migrating an old 1.x widget into the current environment.&amp;nbsp; It was the single best resource that I had in the process.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Corey&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 17:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222250#M6915</guid>
      <dc:creator>CoreySmolik1</dc:creator>
      <dc:date>2013-02-21T17:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222251#M6916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info on changing the Additional Compiler arguments to no locale.&amp;nbsp; I just downloaded the Flex Viewer 3.6 and once it was imported to a new project, it yielded over 100 errors stating "Could not find resource bundle 'components' for locale 'en_US'".&amp;nbsp; Not sure what the underlying error is, but at least I can run the viewer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 19:22:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222251#M6916</guid>
      <dc:creator>JoeTack</dc:creator>
      <dc:date>2014-03-26T19:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222252#M6917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I never did fully resolve it in Flex, mainly because I was able to get the site to display, and it only notifies you when debugging mode is on.&amp;nbsp; In another development environment, I would say that an en_US resources folder would have to be added to the project and built in to the project.&amp;nbsp; Since I am not deploying the site internationally, I left it alone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The problem that was preventing the site from running appeared tied to taking widgets designed to work in the version 1.3 into a 3.0 environment.&amp;nbsp; Without changing the coding, 3.1 and then 3.2 were released, and the modifications I made to the custom widget started to work.&amp;nbsp; I had thought&amp;nbsp; it was failing to run because of the missing components, but I no longer believe that was the case.&amp;nbsp; Since the release of 3.2, I have had no problems at all with custom widgets or in updating our FLEX sites.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Corey&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 11:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222252#M6917</guid>
      <dc:creator>CoreySmolik1</dc:creator>
      <dc:date>2014-03-27T11:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222253#M6918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still not out of the woods.&amp;nbsp; Using Flashbuilder 4.7, forked Viewer for flex 3.6, ArcGis API for flex 3.6, and followed the steps on GITHUB.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Resulted in over 100 "Unable to resolve resource bundle "ESRIMessages" for locale "en_US".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting the additional compiler arguments removed the errors and allowed the index.html to build and I could run the project.&amp;nbsp; However, none of the widget text labels are visible.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking around for a solution, I've tried adding the framework_fb.swc for en_us to the flex build path - No change.&amp;nbsp; I've added locale\{locale} to the source path - No change.&amp;nbsp; Have tried different compiler arguments with no success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 16:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222253#M6918</guid>
      <dc:creator>JoeTack</dc:creator>
      <dc:date>2014-03-27T16:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: FLEX 4.6 could not find resource bundle 'components' for locale 'en_US'</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222254#M6919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After all that, it appears to be an issue with the location of the API or swc.&amp;nbsp; I copied the API from where it was sitting in a different drive letter to within the Adobe folder in program files and everything works now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 18:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-4-6-could-not-find-resource-bundle-components/m-p/222254#M6919</guid>
      <dc:creator>JoeTack</dc:creator>
      <dc:date>2014-03-27T18:43:03Z</dc:date>
    </item>
  </channel>
</rss>

