systemLanguage Sample

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.

Your current locale setting is Espanol.

Éste es un ejemplo para el systemLanguage la propiedad.
Your current locale setting is Portuguese.

Este é um exemplo para a systemLanguage propriedade.
Your current locale setting is English.

This is an example for the systemLanguage property.
This language is not supported.

[Right-click and choose View Source from the shortcut menu.]

© 2007 Microsoft Corporation. All rights reserved. Terms of use.