Language in CumulusUtils: Difference between revisions

m
'''See: [[Language_in_CumulusUtils#Trouble_in_Paradise|Trouble in Paradise]].'''
 
Any entry of aan languageillegal locale code other than five digits or invalid language or country will trigger an error and fall back to the default en-GB.
 
Both the [[CumulusUtils Gauges]] and the [[CumulusUtils Graphs]] (made with [https://www.highcharts.com/ HighCharts]) have their own language subsystem. If anywhere the languages don't match it is seen as an error with a fall back to the default of en-GB. The gauges language file (''language.js'') is part of the gauges subsystem but can be modified in concertation with [https://cumulus.hosiene.co.uk/memberlist.php?mode=viewprofile&u=2711 Mark Crossley] who then will put it back into the gauges repository and I will take it up in the ''CumulusUtils'' distribution. An example of this is the the now presence of two Norwegian languages. A new language must also be acknowledged by [https://cumulus.hosiene.co.uk/memberlist.php?mode=viewprofile&u=9016 HansR] for ''CumulusUtils'' to make the new language code accepted.
 
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 languages defined and accepted are:
EN, FR, DE, NL, SE, DKDA, FI, NN, NB, IT, ES, CT, GR, PT, CS, PL
 
== Output ==