<?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 Localization with widgets in subfolders in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/localization-with-widgets-in-subfolders/m-p/638350#M18956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created 3 new widgets that I put in a new subfolder I created within the "widgets" folder of Flexviewer. I then changed the "local" argument in the Flex Compiler to fr_FR, like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-locale fr_FR -source-path=locale/{locale} -keep-all-type-selectors=true -debug=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; but the compilation fails when it reaches my widgets, with the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
[SWF] /widgets/Navigation/NavigationWidget.swf - 450,551 bytes after decompression
[SWF] /widgets/OverviewMap/OverviewMapWidget.swf - 334,252 bytes after decompression
[SWF] /widgets/MapSwitcher/MapSwitcherWidget.swf - 438,733 bytes after decompression
[SWF] /widgets/HeaderController/HeaderControllerWidget.swf - 389,955 bytes after decompression
[SWF] /widgets/SubfolderName/Recherche/Recherche.swf - 476,346 bytes after decompression
Error: Could not find compiled resource bundle 'ViewerStrings' for locale 'fr_FR'.
 at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
 at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
 at mx.core::FlexModuleFactory/installCompiledResourceBundles()
 at mx.core::FlexModuleFactory/docFrameHandler()
 at mx.core::FlexModuleFactory/docFrameListener()
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this because of the subfolder? How can I make the ViewerStrings resource bundle work with my custom widgets?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Dec 2012 14:58:48 GMT</pubDate>
    <dc:creator>YohanBienvenue</dc:creator>
    <dc:date>2012-12-10T14:58:48Z</dc:date>
    <item>
      <title>Localization with widgets in subfolders</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/localization-with-widgets-in-subfolders/m-p/638350#M18956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created 3 new widgets that I put in a new subfolder I created within the "widgets" folder of Flexviewer. I then changed the "local" argument in the Flex Compiler to fr_FR, like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-locale fr_FR -source-path=locale/{locale} -keep-all-type-selectors=true -debug=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; but the compilation fails when it reaches my widgets, with the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
[SWF] /widgets/Navigation/NavigationWidget.swf - 450,551 bytes after decompression
[SWF] /widgets/OverviewMap/OverviewMapWidget.swf - 334,252 bytes after decompression
[SWF] /widgets/MapSwitcher/MapSwitcherWidget.swf - 438,733 bytes after decompression
[SWF] /widgets/HeaderController/HeaderControllerWidget.swf - 389,955 bytes after decompression
[SWF] /widgets/SubfolderName/Recherche/Recherche.swf - 476,346 bytes after decompression
Error: Could not find compiled resource bundle 'ViewerStrings' for locale 'fr_FR'.
 at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
 at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
 at mx.core::FlexModuleFactory/installCompiledResourceBundles()
 at mx.core::FlexModuleFactory/docFrameHandler()
 at mx.core::FlexModuleFactory/docFrameListener()
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this because of the subfolder? How can I make the ViewerStrings resource bundle work with my custom widgets?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 14:58:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/localization-with-widgets-in-subfolders/m-p/638350#M18956</guid>
      <dc:creator>YohanBienvenue</dc:creator>
      <dc:date>2012-12-10T14:58:48Z</dc:date>
    </item>
  </channel>
</rss>

