On Mon, Nov 16, 2009 at 20:00, Scott Langeberg <[email protected]> wrote:

> Here's my plugin settings for compiling locale data. You can see compiled
> locales in comments, and is currently using runtime locales:
>

Thanks, Scott! Based on your pom I could finally fix my problem here.
I did some things different:


>
>             <plugin>
>                 <groupId>org.sonatype.flexmojos</groupId>
>                 <artifactId>flexmojos-maven-plugin</artifactId>
>                 <configuration>
>                     <sourceFile>OperationsModule.mxml</sourceFile>
>                     <locales>
>                         <locale>en_US</locale>
>                     </locales>
>
I put only this locales tag, ignoring the compiled or  runtime ones. I don't
know very much about how locales work on flex, maybe I should study more
about this. But for now it worker for me.

>                     <!-- Compiled localization -->
> <!--                    <compiledLocales> -->
> <!--                        <locale>en_US</locale> -->
> <!--                        <locale>ja_JP</locale>-->
> <!--                        <locale>pt_BR</locale>-->
> <!--                    </compiledLocales>-->
>
>
> <resourceBundlePath>${basedir}/src/main/locales/{locale}</resourceBundlePath>

It's not necessary since it is the default value.

>
>                     <runtimeLocales>
>                         <locale>en_US</locale>
>                         <locale>ja_JP</locale>
>                         <locale>pt_BR</locale>
>                     </runtimeLocales>
>                 </configuration>
>             </plugin>
>
>
I also put a
<mergeResourceBundle>true</mergeResourceBundle>
to avoid separated resources generation.

Thanks again!

-- 
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?hl=en?hl=en

http://blog.flex-mojos.info/

Reply via email to