Hi Willi,

> On Oct 8, 2025, at 1:34 PM, Fritz Mueller via Freedos-devel 
> <[email protected]> wrote:
> 
> 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.


I do not “want to use PTB” for Brazilian Portuguese. I simply want to no use an 
extension that conflicts with ISO 639-1. 

This means that BR cannot be used because it is already assigned to a different 
language. PTBR (PTB for short 8.3 filename compatibility) was suggested/used by 
an individual providing translations for that language. However, it is the only 
language translation at present which uses 3-4 characters for the language code 
in FreeDOS. If we really want to only have a two letter code for PT-BR, I 
suggest using BZ. It is not assigned in the ISO standard and does not conflict. 
But, users may not find it when they are expect it when looking for PTBR. 

If a program cannot use a three character language code, that is not a problem 
with the language code. It is a problem with the program and should be fixed 
there. 

We should have a document at https://gitlab.com/FreeDOS/docs/-/tree/master/info 
<https://gitlab.com/FreeDOS/docs/-/tree/master/info> and a copy over at 
https://shidel.github.io/fd-nls/ <https://shidel.github.io/fd-nls/> that simply 
lists the different languages, abbreviations, codepages and possibly any 
related notes for the various languages in use by FreeDOS.

It would could something like this:


Language                LANG ID         Codepage        Notes
--------                --------        --------        ————
English                 en              437
German                  de              858,850
Portuguese              pt              860,850
Portuguese-Brazil       bz              850             Not included of ISO 
639-1. FreeDOS only for pt-br


I think a simple doc like that would be help to language contributors and users 
alike.

:-)
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to