Page 1 of 1

Designing for Multiple Locales

Posted: Fri Aug 07, 2009 11:57 am
by ConvertFromOldNGs
by L.C. Lim >> Wed, 4 Oct 2000 21:31:51 GMT

Hi Jade Developers,
Wish to seek advice on designing for multiple locale usage. Things like having the captions on all the forms load in various languages according to the user's choice. I understand there's a translation string available, but I can't seem to get it right.
Please help. Any advice, codes and tips are much appreciated.
Thanks.
L.C. Lim

Re: Designing for Multiple Locales

Posted: Fri Aug 07, 2009 11:57 am
by ConvertFromOldNGs
by Don Rae >> Sun, 15 Oct 2000 23:51:42 GMT

In the JADE User Guide there is a chapter called Internationalization which has all the detail you should need.

JADE Online Help also provides extensive information.

As general comments:
- write every app using translatable strings and forms. (you never know when you might have to translate an app)
- it pays to stabilise form design before implementing multi-language captions.

There are only 2 FAQs to do this subject.

http://news.jadeworld.com/developers/faq14905.htm notes:

Question:
How can I recopy a form into another Locale?

Response:
There is no way to recreate an individual form translation for a particular locale. You could remove the locale from your system and then re-add it. This will recreate all forms in the locale from a specified base locale. However, you will lose any changes that have been made to the forms since the locale was first added.

This is one reason why it's recommended to leave the translation phase until the form design has stabilised otherwise you may have to duplicate work between the various translations.

Comments:
Note: If you have made changes to some of your forms that you wish to keep, then you could do a selective extract of just those forms prior to removing the locale, re-add the locale and then reload the forms from the selective extract files.

http://news.jadeworld.com/developers/faq14784.htm notes:

Question:
How do I change the separator (i.e. the comma in 123, 456) used by the numberFormat method?

Response:
The numberFormat method is defined for the Decimal, Integer and Real primitive types. The method returns a string representing the current value of the number. The format of the string is determined by the regional settings of the current locale of the machine. To change the separator that is used by the numberFormat method, open the Windows 'Control Panel' and run the 'Regional Settings' applet. As well as specifying numeric formats, this applet also allows you to specify currency, date and time formats.



For any specific questions re this issue, you should contact JADE Support as your first port of call.

Good luck with building a high quality multi-language JADE application!

Don Rae
drae@discoverjade.com
http://news.jadeworld.com