EditLive! 9 Documentation : setLocale Method

This property explicitly sets the locale that EditLive! should use for the interface translation, date formats, and other locale dependant properties.

Syntax

Visual Basic Script
object.Locale = strLocale
ASP.NET
prefix:EditLiveJava Locale = strLocale
JavaScript
editliveInstance.setLocale(strLocale);

Parameters

strLocale

Two letter ISO-369 compliant string representing the locale for the interface translation.

By default, if the interface translation is available for a client's locale, the interface appears in this translation unless explicitly set. If there is no translation available for a client's locale then the English interface translation is used.

Examples

The following code would set the locale of EditLive! to German. This means that EditLive! will run with the German interface translation.

VBScript
editlive1.Locale = "DE"
ASP.NET Server Control
<elj:EditLiveJava 
  ...
  Locale = "DE" 
  ... 
/>
JavaScript
editlivejs.setLocale("DE");

Remarks

If this property is not set, the locale for EditLive! will be set according to the locale of the client's system properties.

If the set locale or the locale of the client's system is not supported by EditLive!, the English translation of the user interface is used by default.

Valid locales for EditLive! are:

  • AR - Arabic
  • CA - Catalan
  • CS - Czech
  • DA - Danish
  • DE - German
  • EL - Greek
  • ES - Spanish
  • FA - Farsi
  • FI - Finnish
  • FR - French
  • HE - Hebrew
  • HR - Croatian
  • HU - Hungarian
  • IT - Italian
  • JA - Japanese
  • KO - Korean
  • NL - Dutch
  • NB - Norwegian BokmÃ¥l
  • PL - Polish
  • PT - Brazilian Portuguese
  • PT_PT - European Portuguese
  • RO - Romanian
  • RU - Russian
  • SK - Slovak
  • SV - Swedish
  • TH - Thai
  • TR - Turkish
  • ZH - Simplified Chinese
  • ZH_TW - Traditional Chinese