I Guess this is related to the fact, that there seems to be no
localization package for Canadian English.
You can configure FM that if falls back to en_EN in case a
ResourceBundle is not available.
<localesCompiled>
<locale>en_US</locale>
<locale>en_CA,en_US</locale>
<locale>fr_CA,fr_FR</locale>
</localesCompiled>
This will make the compiler try to use the first in the list and if
this rb is not available it will take the next in the list.
Chris
2011/10/25 sanssucre <[email protected]>:
> Ok i see now that the locale are taken into account since i get a new
> error and it's related to locales. Pasting it here while i investigate
> in case it's obvious to anyone how to fix it...
> Missing resource bundle
> 'com.adobe.flex.framework:datavisualization:rb.swc:en_CA:4.1.0.16248'
>
> On Oct 25, 10:30 am, Christofer Dutz <[email protected]>
> wrote:
>> Ok ... found your problem.
>> In FM4 the property is no longer called compiledLocales but localesCompiled.
>> I summed up most changes I found in my wiki ... just have a
>> look:https://dev.c-ware.de/confluence/display/PUBLIC/Migrating+from+Flexmo...
>>
>> Chris
>>
>> 2011/10/25 Dongwook Koo <[email protected]>:
>>
>>
>>
>>
>>
>>
>>
>> > You are missing resource bundles.
>>
>> > include following into your config:
>>
>> > <includeResourceBundles>
>> > <bundle>adminui</bundle>
>> > </includeResourceBundles>
>>
>> > if that still doesn't work, include this too.
>>
>> > <allowSourcePathOverlap>true</allowSourcePathOverlap>
>>
>> > On Oct 24, 4:19 pm, Alain Gaeremynck <[email protected]> wrote:
>> >> Here's the pom file content :
>> >> <project xmlns="http://maven.apache.org/POM/4.0.0"
>> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> >> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> >> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>> >> <modelVersion>4.0.0</modelVersion>
>> >> <groupId>com.ypg.wss</groupId>
>> >> <artifactId>WSS-WebBuilder-ui</artifactId>
>> >> <version>1.0</version>
>> >> <packaging>swf</packaging>
>> >> <name>webbuilder-ui</name>
>> >> <parent>
>> >> <groupId>org.sonatype.flexmojos</groupId>
>> >> <artifactId>flexmojos-flex-super-pom</artifactId>
>> >> <version>4.0-beta-3</version>
>> >> </parent>
>> >> <repositories>
>> >> <repository>
>> >> <id>flex-mojos-repository</id>
>> >> <url>http://repository.sonatype.org/content/groups/flexgroup/
>> >> </url>
>> >> <releases>
>> >> <enabled>true</enabled>
>> >> </releases>
>> >> <snapshots>
>> >> <enabled>true</enabled>
>> >> </snapshots>
>> >> </repository>
>> >> </repositories>
>> >> <pluginRepositories>
>> >> <pluginRepository>
>> >> <id>flex-mojos-repository</id>
>> >> <url>http://repository.sonatype.org/content/groups/flexgroup/
>> >> </url>
>> >> <releases>
>> >> <enabled>true</enabled>
>> >> </releases>
>> >> <snapshots>
>> >> <enabled>true</enabled>
>> >> </snapshots>
>> >> </pluginRepository>
>> >> </pluginRepositories>
>>
>> >> <dependencies>
>> >> <dependency>
>> >> <groupId>com.adobe.flex.framework</groupId>
>> >> <artifactId>flex-framework</artifactId>
>> >> <version>4.5.1.21328</version>
>> >> <type>pom</type>
>> >> </dependency>
>>
>> >> <dependency>
>> >> <groupId>json</groupId>
>> >> <artifactId>json</artifactId>
>> >> <type>swc</type>
>> >> <version>SNAPSHOT</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>org.as3commons.logging</groupId>
>> >> <artifactId>logging</artifactId>
>> >> <type>swc</type>
>> >> <version>SNAPSHOT</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>com.google.map_flex</groupId>
>> >> <artifactId>map_flex</artifactId>
>> >> <type>swc</type>
>> >> <version>1.2.0</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>com.adobe.xml.syndication</groupId>
>> >> <artifactId>xmlsyndication</artifactId>
>> >> <type>swc</type>
>> >> <version>SNAPSHOT</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>com.adobe.flex.framework</groupId>
>> >> <artifactId>flex-framework</artifactId>
>> >> <version>4.1.0.16248</version>
>> >> <type>pom</type>
>> >> </dependency>
>> >> <!--<dependency>
>> >> <groupId>com.adobe.flexunit</groupId>
>> >> <artifactId>flexunit</artifactId>
>> >> <version>0.85</version>
>> >> <type>swc</type>
>> >> <scope>test</scope>
>> >> </dependency>-->
>> >> </dependencies>
>>
>> >> <build>
>> >> <finalName>WSSAdminFlow</finalName>
>> >> <sourceDirectory>src/main/flex</sourceDirectory>
>> >> <resources>
>> >> <resource>
>> >> <directory>src/main/resources</directory>
>> >> </resource>
>> >> </resources>
>> >> <!--<testSourceDirectory>src/test/flex</testSourceDirectory>-->
>> >> <plugins>
>> >> <plugin>
>> >> <groupId>org.sonatype.flexmojos</groupId>
>> >> <artifactId>flexmojos-maven-plugin</artifactId>
>> >> <dependencies>
>> >> <dependency>
>> >> <groupId>com.adobe.flex</groupId>
>> >> <artifactId>compiler</artifactId>
>> >> <version>4.1.0.16248</version>
>> >> <type>pom</type>
>> >> </dependency>
>> >> </dependencies>
>> >> <version>4.0-RC2</version>
>> >> <extensions>true</extensions>
>> >> <configuration>
>> >> <compiledLocales>
>> >> <locale>en_US</locale>
>> >> <locale>en_CA</locale>
>> >> <locale>fr_CA</locale>
>> >> </compiledLocales>
>>
>> >> <resourceBundlePath>${basedir}/src/main/locales/{locale}</resourceBundlePat
>> >> h>
>> >> <sourceFile>WSSAdminFlow.mxml</sourceFile>
>> >> <showWarnings>false</showWarnings>
>> >> <configurationReport>true</configurationReport>
>> >> <swfVersion>10</swfVersion>
>> >> </configuration>
>> >> </plugin>
>> >> </plugins>
>> >> </build>
>> >> </project>
>>
>> >> The localization files are like so
>> >> src/main/locales/en_CA/adminui.properties
>> >> src/main/locales/en_US/adminui.properties
>> >> src/main/locales/fr_CA/adminui.properties
>>
>> >> I actually don't need the en_US file but i've put it there to try and make
>> >> it work but to no avail. Any idea as to what i do wrong? I tried and
>> >> follow this
>> >> examplehttps://docs.sonatype.org/display/FLEXMOJOS/Application+Localization
>>
>> >> thanks for the help
>>
>> >> Alain.
>>
>> > --
>> > 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
>>
>> >http://flexmojos.sonatype.org/
>
> --
> 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
>
> http://flexmojos.sonatype.org/
>
--
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
http://flexmojos.sonatype.org/