It depends alot on what device you're using.  The strings are coming from
the DateFormatSymbols class and our core libraries add and remove big lumps
of internationalization data from build config to build config (some devices
are us-centric, some are europe-centric, some asia-centric, some world,
etc).  I'm surprised if you have other dutch in the Alarm clock app, though
if you copied it from elsewhere it may have been built for a world (or euro)
device but you're now running it on a non-euro device.  The ordinal numbers
are the defaults that DafeFormatSymbols uses when it doesn't have info for
your locale.

R

On Mon, May 3, 2010 at 4:08 AM, Uander <[email protected]> wrote:

> Can anyone on this mailing list help me out ??
>
> On Fri, Apr 30, 2010 at 6:48 PM, Uander <[email protected]> wrote:
>
>> Hi All  ,
>>
>> Issue I mentioned here works fine in cupcake android 1.5 .
>> it refers to a OHA issue 3985:
>>
>>
>> http://code.google.com/p/android/issues/detail?id=3985
>>
>> Please suggest how to fix it .
>>
>> in Alarms.java file , I used  DateFormatSymbols(Locale.getDefault())
>> instead of simple DateFormatSymbols() it doesn't work
>> while in same file Locale.getDefault().toString()) equates to "ja_JP" that
>> indicates japanese locales are supported in eclair 2.1 .
>>
>> Thanks :
>>
>> Uander
>>
>>
>>
>> On Fri, Apr 30, 2010 at 12:18 PM, Uander <[email protected]> wrote:
>>
>>> Hi All ,
>>>
>>> I am bit confused about location stuff in Alarm clock application in
>>> Eclair 2.1  . I want to confirm if its a feature or a bug .
>>> 1 . Click on Main Menu -> Alarm Clock ->(Any Set Alarm)->Repeat . This
>>> pops up list of all weekdays from Monday to Sunday along with check button
>>> so as to enable them for corresponding alarm .
>>> 2. Now select Dutch(Netherland language)
>>> Click on Main Menu->Settings-> Language & Keyboard-> Select Locale->Dutch
>>> (Netherlands)
>>> This will install Dutch environment in Android .
>>> 3. Click on Main Menu -> Alarm Clock(Wekker) ->(Any Set Alarm)->
>>> Herhalen(Repeat) . This will show list of index for week days . rather than
>>> this dutch version of weekdays (Mon to Sun) should list out .
>>>
>>> Concern source code for fetching weekdays is in Alarms.java file under :
>>> ANDROID_TOP/packages/apps/AlarmClock/src/com/android/alarmclock
>>>
>>>
>>> for (int i = 0; i < 7; i++) {
>>>                 if ((mDays & (1 << i)) != 0) {
>>>
>>>                     ret.append(dayList[DAY_MAP[i]]);
>>>                     dayCount -= 1;
>>>                     if (dayCount > 0) ret.append(
>>>                             context.getText(R.string.day_concat));
>>>                 }
>>>             }
>>>
>>> Other localization strings are in strings.xml file under
>>> ANDROID_TOP/packages/apps/AlarmClock/res/values-*/
>>>
>>> Does it like to have only indexes 0,1,2,,,instead of translated strings
>>> for Mon,Tues,... in Dutch etc languages for Alarm Clock ??
>>>
>>> Any Help would be appreciated .
>>>
>>>
>>>
>>>
>>> Thanks :
>>> Uander
>>>
>>
>>
>  --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to