You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by taromae <ro...@gmail.com> on 2020/11/25 06:23:39 UTC

How do you localization in Jewel?

Hello

If possible, I'd like to know.
How do you localization in Jewel?


For example, flex wrote as follows

private var defaultLocale:Object = resourceManager.localeChain[0];
if(defaultLocale == "ja_JP"){

	Alert.yesLabel = "はい";
	Alert.noLabel = "いいえ";
	
	
	var df:DateField = new DateField;
	df.dayNames = ["日", "月", "火", "水", "木", "金", "土"];
	....
}

And the display is changed (Japanese)

Thank you.

Yushiro



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: How do you localization in Jewel?

Posted by Carlos Rovira <ca...@apache.org>.
Hi,

please check this thread about the topic:
http://apache-royale-development.20373.n8.nabble.com/Localization-td17534.html

El mié, 25 nov 2020 a las 7:23, taromae (<ro...@gmail.com>) escribió:

> Hello
>
> If possible, I'd like to know.
> How do you localization in Jewel?
>
>
> For example, flex wrote as follows
>
> private var defaultLocale:Object = resourceManager.localeChain[0];
> if(defaultLocale == "ja_JP"){
>
>         Alert.yesLabel = "はい";
>         Alert.noLabel = "いいえ";
>
>
>         var df:DateField = new DateField;
>         df.dayNames = ["日", "月", "火", "水", "木", "金", "土"];
>         ....
> }
>
> And the display is changed (Japanese)
>
> Thank you.
>
> Yushiro
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira