[REBOL] Re: Internationalization appeal
From: ingo:2b1 at: 18-May-2002 21:55
Hi Gabriele, Sunanda,
Gabriele Santilli wrote:
> Hi SunandaDH,
>
> On Thursday, May 16, 2002, 6:32:54 PM, you wrote:
>
> Sac> 1. Some feedback on the requirements. Please take a look at the sample
> Sac> functions below and tell me what is missing so it can work for your
> Sac> country/locale.
>
> Just my 2 cents: what about handling it like AmigaOS
> locale.library does? You first select the country and the
> language, and then use the functions. This way you don't need to
> have all the combinations loaded, but can simply store the
> required info in external files (i.e. %locale/italy.country and
> %locale/italian.language), which can easily be replaced/added
> without modification of the code. It looks much simpler this way
> to me.
Yup, this would make it _much_ easier to add new languages, I think.
Furthermore it might be an idea to add a field 'lang to the system/user
object, and use this to determine the language settings.
I have an experimental implementation to work with different language
strings on the reb under h-o-h/core/languages . Maybe something like
this should be part of the system, too.
Kind regards,
Ingo