Lasso Soft Inc. > Home

[ locale->displayname ]

Method

The [locale->displayname] method displays the language of the locale in the language of another locale. Additional locale parameters, (country code, variant, script) are displayed in parnethises (translated where appropriate) along with the translation.

The method requires one parameter, the locale to output the data in.

  • Syntax
locale->displayname( translation_locale )
Examples
  • Beginner

Translate the current locales's information into another language

Use the [locale->displayname] method. This example outputs the information locale_germany in french.

Code

local( myLocale = locale_germany)

#myLocale->displayname(locale_france)

Result

allemand (Allemagne)

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft