Lasso Soft Inc. > Home

[ locale->displaylanguage ]

Method

The [locale->displaylanguage] method displays the language of the locale in the language of another locale.

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

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

Translate the current locales's language name into another language

Use the [locale->displaylanguage] method. This example outputs the name of the default locale's language (English) in french.

Code

local( myLocale = locale_default )

#myLocale->displayLanguage(locale_france)

Result

anglais

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