Hi Jerome,
I checked once again, you are right. There is an iso 639-1 for LANGUAGE and another one, 3166-1 for COUNTRIES.
And there Brazil has BR whereas there is none for the same language.
There are differences in several countries/languages, e.g. Ukraine, UK and UA.
 
I will check if this is handled correct with all NLS files (I think estonian was set wrong) when I am back at home.
 
Sorry for this confusion, but ptb will not work, but if you want to keep it, do so.
 
Willi
 
 
Sent: Wednesday, October 08, 2025 at 2:41 PM
From: "Jerome Shidel via Freedos-devel" <[email protected]>
To: "FreeDOS Developers" <[email protected]>
Cc: [email protected]
Subject: Re: [Freedos-devel] Question about 3-letter language codes
 
 
On Oct 7, 2025, at 9:28 AM, Fritz Mueller via Freedos-devel <[email protected]> wrote:
 
Hi Aitor,
in my first message I said that I would propose .BR instead of .PTB .
mkeyb usese BR and BX
keyb 
xkeyb uses BR850.key, BR274.key, 274437.key, br275.key
keyb uses BR and BR274
 
so why not giving br to Brazil instead of PTB? I have no idea.
 
Because, ISO 639-1 (alpha-2 code) has designated BR for the language Breton.
 
ISO 639-2 (alpha-3 code) does not have a language using PTB as a designation.
 
However, ISO 639-1 does not have any languages using BX or BZ. 
 
 
Furthermore, local at the Language Locale ID Codes: Portuguese-Brazil is pt-br and Portuguese-Portugal is pt-pt. 
So, PTB seems like a reasonable choice. Interestingly, this table does not list Breton or BR for a language code.
 
 
 
_______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to