2,064
edits
|
The choice has been made to use the [https://docs.microsoft.com/en-gb/openspecs/windows_protocols/ms-lcid/70feba9f-294e-491e-b6eb-56532684c37f Windows Language Code Identifier (LCID) Reference] (you will find the codes in this [https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-LCID/%5bMS-LCID%5d.pdf pdf document]) with only the five position codes as valid. So for British English the code '''en-GB''' is used. The first two digits determine the language, the last two digits determine the country and therefore the [https://en.wikipedia.org/wiki/Locale_(computer_software) locale].
Any entry of an illegal locale code will trigger an error and fall back to the default en-GB.
In CUtils the gauges languages are determined through the locale. If the language from the locale does not exist it falls silently back to en-GB
The ''current gauges languages'' defined and accepted are:
EN, FR, DE, NL, SE, DA, FI, NN, NB, IT, ES, CT, GR, PT, CS, PL
(so if you use a Swahili sub dialect in CUtils, it will not be present in default for the gauges which will then use en-GB)
== Output ==
| |||