Class aaoh.kaze.Locale
Defined in: <src/main1/lib\aaoh.kaze-core.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Locale。
|
Method Attributes | Method Name and Description |
---|---|
getLocalizedString(key, isNull)
ローカライズされた文字列の取得。
|
|
getString(key)
ローカライズされた文字列の取得。
|
|
setLocale(lang, callable)
ローカライズの設定。
|
Method Detail
{String}
getLocalizedString(key, isNull)
ローカライズされた文字列の取得。
- Parameters:
- {String} key
- キー
- {Boolean} isNull
- 値がなかった時にnullを返すときにはtrue
- Returns:
- {String} ローカライズされた文字列
{String}
getString(key)
ローカライズされた文字列の取得。
- Parameters:
- {String} key
- キー
- Returns:
- {String} ローカライズされた文字列
setLocale(lang, callable)
ローカライズの設定。
- Parameters:
- {String} lang
- 言語名
- {Function} callable
- ローカライズ通知ファンクション