This example demonstrates that, based on your current locale (language setting) in the General Tab in the Regional Options in Control Panel, the following sentence, "This is an example for the systemLanguage property", appears in that particular language. The sentence is translated into the three following languages: Spanish—(es), Portuguese—(pt) and English—(en).
To test this sample, switch your current locale (language setting) to either Spanish, Portuguese or English and refresh this Web page. If any other language is chosen, a 'Language not supported' message appears. Be sure to set your current locale back to its original setting.
[Right-click and choose View Source from the shortcut menu.]
© 2007 Microsoft Corporation. All rights reserved. Terms of use.