4 Replies Latest reply on Oct 11, 2010 6:58 AM by djh88ukwb

    Flex Locale Files, add langauges such as Welsh

    djh88ukwb Level 1

      Hello All.

       

      Being a Welsh man and trying to create a little flex application that i intend allowing the user to change its language i have come across a problem in adding extra languages.

       

      I can add English, French, Spanish etc because in the following directory C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\locale

      I have a number of differnt languages.

       

      I have then created customStrings.properties files so that i can create my own terms.  In my application i then give a label the following text attribute

      {resourceManager.getString('customStrings','helloWorld')}

       

      Which looks at my customStrings file and checks for the hellowWorld tag and then prints the relevant word.

       

      My problem comes when i want to add languages like welsh which is not listed in the C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\locale  directory.

       

      Is it possible to create a standard locale file here so i can add languages files for welsh etc?

       

      Thanks in advance!!