Hello Ken,
Thanks for responding.
I can understand the sample code approach.
This can work only if the responses received in Engllish are from fixed.
So that i can store corresponding Locale version for them.
If the English string list is not constant , what i could get
is the only option left with me is to have a translator.

rgds,
ritu

----- Original Message -----
From: "Ken Krugler" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, May 20, 2004 10:23 PM
Subject: Re: Localization for Strings


> Hi Ritu,
>
> >"If you want to provide language support for you app but you don't want
to
> >use any of the localization techniques "
> >
> >Does this means any standard technique is available for achieving this?
> >
> >If yes please let me know what it is ?
>
> The various techniques we've been telling you about recently.
>
> >One more thing is now simplified for me.Now requirment is
> >
> >"The Application will automatically detect the language of the Palm
device
> >and display the appropriate localized text."
> >
> >i.e. i can use the overlays technique for static text.
>
> Great.
>
> >Still the problem persists for dynamic strings
> >(I will get list of english string from the server, which needs to
converted
> >according to current locale.)
> >Is their any standard Api available which can give me string version
> >specific to the locale.
>
> Uhm, no. Since Palm devices don't yet provide built-in machine
translation.
>
> >Or if i can get some sample code to achieve this That will be help full
to
> >me.
>
> This sounds like a general programming problem to me. But what I would do
is:
>
> a. Have a stable list of English strings in a resource (a string
> list, for example, if the list is short). Store this resource in your
> core app.
>
> b. In each overlay, have a corresponding resource with the localized
versions.
>
> c. When you get a string from the server, look it up in the English
> list, and load the same indexed string from the overlay.
>
> -- Ken
> --
> Ken Krugler
> TransPac Software, Inc.
> <http://www.transpac.com>
> +1 530-470-9200
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to