The Ant build script (build_framework.xml) file does not appear to be
installed with Flex Builder 2.0.1.  I was able to get a copy by
downloading the Flex SDK independently and just copied it into the
Flex SDK directory of my Flex Builder installation.

The directions that Manish gave are correct for building your own
locale's resource bundle, however the build script target
'build-framework-rb' assumes that the file 'rb.properties' exists -
which doesn't - unless you've happened to rebuild the entire flex
framework (see the 'build-framework' target).

I'm assuming you can create your own rb.properties file, but I chose
to rebuild the framework and let it generate it for me.

-George

--- In [email protected], "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> On 5/4/07, xho <[EMAIL PROTECTED]> wrote:
> 
> >  Anyway, I cannot find usefull informations on how to create and
build a
> > working italian locale for flex or download a working one: in a
default flex
> > installation i can only find one locale in
> >
> >  [...]\Flex SDK 2\frameworks\locale\
> >
> > where the only folder en_US, contains english US locale settings.
> >
> >  I duplicated this folder naming it 'it_IT' and edited
> > 'formatters.properties' file in order to translate short names for
days and
> > months. Than I changed the project compile settings adding
'-locale it_IT'.
> > Well, nothing changed and, in particular, DateFormatter still returns
> > english formatted strings (ie 'Sun 15 Jan' vs 'Dom 15 Gen').
> 
> You have to rebuild framework_rb.swc.
> 
>   ant -f build_framework.xml -Dflex.locale=it_IT build-framework-rb
> 
> This will place a new framework_rb.swc in your locale's directory. Now
> if you specify locale=it_IT to mxmlc it'll pick up values from this
> new locale SWC.
> 
> Hope this helps.
>


Reply via email to