The [locale->displayvariant] method displays the variant of the given locale in the format of another locale. This method takes one parameter, the display locale object.
This method is used primarily for translation purposes.
locale->displayvariant( translator_locale )
Use the [locale->displayvariant] method. This examples displays the vairant of the locale United States(computer) in various languages.
Code
local( aLocale = locale('en', 'US','POSIX'))
#aLocale->displayvariant(locale_default)+'\n'
#aLocale->displayvariant(locale_germany)+'\n'
#aLocale->displayvariant(locale_france)
Result
Computer Posix informatique
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments