Support for Turkish locale
Phil Race
philip.race at oracle.com
Tue Mar 1 17:08:01 UTC 2011
I should clarify that Alan is correct that the i18n-dev list is the more
appropriate place to raise this as its the right place to discuss I18N
and L10N ..
since I don't know of any L10N list.
-phil.
On 3/1/2011 7:40 AM, Phil Race wrote:
> This is a localisation issue (not internationalisation issue as Alan
> suggested).
> but the bottom line is whilst many locales are supported that does not
> mean that user interface messages are translated into all those locales.
> There's a huge cost issue behind that. There was an openjdk project to
> add Brazilian Portugese localisation and if Turkish is important then
> something similar would need to be done there. But it implies an ongoing
> commitment to update those messages and test them and that's a cost too.
>
> -phil.
>
> On 3/1/2011 2:13 AM, Jing LV wrote:
>> Hello,
>>
>> I've found several problem while using OpenJDK under Turkish Locale.
>> For some examples:
>>
>> (All testcase should run with parameter -Duser.language=tr
>> -Duser.region=TR)
>>
>> public static void main(String args[]) {
>> System.out.println(" locale :" + Locale.getDefault());
>> ResourceBundle bundle = ResourceBundle.getBundle
>> ("com.sun.java.swing.plaf.windows.resources.windows",
>> Locale.getDefault());
>> System.out.println(" STRING :" +
>> bundle.getString("FileChooser.newFolderActionLabelText"));
>> }
>>
>> Excepted results:
>> locale : tr_TR
>> STRING : Yeni Klasör
>> But got:
>> locale : tr_TR
>> STRING : New Folder
>>
>> And
>> public static void main(String args[]) {
>>
>> ResourceBundle bundle = ResourceBundle.getBundle("test", Locale
>> .getDefault());
>> String sample = bundle.getString("string1");
>> System.out.println(" FirstString : " + sample);
>> System.out.println(" SecondString : " +
>> bundle.getString("string2"));
>> }
>> it requires a text file "test_tr.properties" with entries:
>> test=\u00dcretilen ara kaynak dosyalar\u0131 silinmez\n
>> test1=abc\u00f3def
>> Excepted result:
>> First String : ÜThis is a turkeyı test
>> Second String : simpleóword
>> But on windows XP, it was:
>> First String : ?This is a turkey? test
>> Second String : simple¨®word
>>
>> I also see http://bugs.sun.com/view_bug.do?bug_id=6341798, but
>> sure if it is delivered already.
>>
>> So my question is, is Turkish Locale officially supported by OpenJDK?
>> And is there some solutions already for such issues? If no, I can
>> provide the fix.
>>
>
More information about the core-libs-dev
mailing list