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.