[haiku-commits] Re: r41744 - in haiku/trunk: headers/os/locale src/kits/locale

  • From: Oliver Tappe <zooey@xxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 27 May 2011 23:00:55 +0200

On 2011-05-27 at 20:12:51 [+0200], Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> Axel Dörfler wrote:
> > "Ingo Weinhold" <ingo_weinhold@xxxxxx> wrote:
> > > Given that most (all?) English application strings are actually
> > > American
> > > English, the GB flag might not be the best fit.
> > 
> > We also default to US-International for the keymap. But do you really
> > want to hide the origin of the language that much? :-)
> > But seriously, I would say that "en" usually means British English,
> > while en_US is actually American English.

British English => en_GB
American English => en_US
any (non-specific) English => en

> To each his own delusions? ;-) The ISO language code "en" just refers to 
> "English", not to some particular standard language. (The same holds true 
> for German BTW.)

Exactly.

> > Maybe we just default to the
> > wrong language then (if en_US would be the default, ReadOnlyBootPrompt
> > would show the US flag already).
> 
> I actually thought "en_US" is the built-in default [1, 2]. I can't say I 
> understand the preferred language handling, though [3, 4]. Maybe someone 
> (Oliver?) can shed some light on things.

Hm, I wish I could, really ;-)

For quite some time, catalog chainloading had been disabled, such that with a 
preferred language 
'de_DE' you'd only ever see German in apps that have a 'de_DE' catalog (i.e. 
one specific to the 
German spoken in Germany). So, at that time, it apparently made sense to use 
'en' as default, such 
that the general English catalog would be loaded.

But chainloading is active again, so it is possible to select 'de_DE' and still 
get the 
translations done for 'de'. So I guess we should indeed set the default of the 
preferred language 
to 'en_US'.

cheers,
        Oliver

Other related posts: