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}</resourceBundlePath>
>                     <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/

Reply via email to