Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 47933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:12:02+00:00 2026-05-10T16:12:02+00:00

I am looking into internationalizing a Flex application I am working on and I

  • 0

I am looking into internationalizing a Flex application I am working on and I am curious if there are any best practices or recommendations for doing so.

Googling for such information results in a handful of small articles and blog posts, each about doing it differently, and the advantages and disadvantages are not exactly clear.

Edited to narrow scope:

  • Need to support only two languages (en_CA and fr_CA)
  • Need to be able to switch at runtime
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:12:02+00:00Added an answer on May 10, 2026 at 4:12 pm

    Of course, after googling a bit more I come across an article on runtime localization.

    And followed these steps:

    Add the following to the compiler arguments to specify the supported locales and their path: (In Flex Builder, select project and go properties -> Flex Compiler -> Additional Compiler Arguments)

    -locale=en_CA,fr_CA -source-path=locale/{locale}

    Create the following files:

    src/locale/en_CA/resources.properties src/locale/fr_CA/resources.properties 

    And then the compiler complains: unable to open 'C:\Program Files\Adobe\Flex Builder 3\sdks\3.1.0\frameworks\locale\en_CA'

    Which looks to be related to bug SDK-12507

    Work around:
    In the sdks\3.1.0\bin directory, execute the following commands:

    copylocale en_US en_CA   copylocale en_US fr_CA 

    This will create the locale directories in the Flex Builder installation and build some required resources into them.

    Then in your .mxml files, reference the resource bundle:

    <mx:Metadata>     [ResourceBundle('resources')] </mx:Metadata> 

    And internationalize the strings:

    <mx:TitleWindow title='Window Title'> 

    becomes:

    <mx:TitleWindow      title='{resourceManager.getString('resources', 'windowTitle')}'> 

    and

    var name:String = 'Name'; 

    becomes:

    var name:String = resourceManager.getString('resources', 'name'); 

    And in your src/locale/en_CA/resources.properties file:

    windowTitle=Window Title name=Name 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 148k
  • Answers 148k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I think the security gains that could be made in… May 12, 2026 at 9:22 am
  • Editorial Team
    Editorial Team added an answer The ruby mysql gem doesn't like the 64-bit version on… May 12, 2026 at 9:22 am
  • Editorial Team
    Editorial Team added an answer I would create, if possible, a xml field inside the… May 12, 2026 at 9:22 am

Related Questions

I have been given the task of internationalizing a large client-server application. The remit
I am looking into game programming in Java to see if it is feasible.
I am looking into improving the backup process a group of animators use. Currently
I am looking into building a smallish Java rpg. I haven't found any good

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.