Topic: Widget localization techniques

I am considering adding l10n support to my chumby widgets. I have been thinking about the different methods available, and here is what I have come up with. I am looking for some comments about these options.

1. Reference a remote XML file that abides by l10n content standards used by translation services
    (content can be updated immediately)

2. Use a separate .as flat file that defines content strings
    (would require a re-compile and a new version to be published)

However, I am not sure how to store or get the locale the chumby is set to.

Is this available as an environment variable?

If not, would we require a configuration movie to set a locale string?


-John Forsythe