Lasso Soft Inc. > Home

[ locale_simplifiedchinese ]

Method

The [locale_simplifiedchinese] method defines a locale with language "zh" and country "CN".

This method is shorthand for locale('zh', 'CH').

  • Syntax
locale_simplifiedchinese
Examples
  • Beginner

Set the locale to the default for Simplified Chinese

Use the [locale_simplifiedchinese] method. This example sets a locale to the default, updates it to [locale_simplifiedchinese] and outputs the difference.

Code

local(myLocale = locale_default,
     myDate = date)

#myLocale->asString +': '+#myLocale->format(#myDate)+'\n'

#myLocale = locale_simplifiedchinese

#myLocale->asString +': '+#myLocale->format(#myDate)+'\n'

Result

en_CA: 2011-02-12
zh_CN: 2011-2-12

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 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft