Language in CumulusUtils: Difference between revisions

m
 
(2 intermediate revisions by the same user not shown)
 
== Locale ==
From version 6.19.0 the ''Locale'' has become the central parameter and is defined through the ''Language'' parameter e.g. Language=nl-NL (unfortunate but historically determined).
One other feature of the language setting is that it defines the Locale used within ''CumulusUtils'' i.e. which ''Culture settings'' will be used. This is specifically important for the number separators as comma's and points. The output of numbers will follow the specified locale within ''CumulusUtils''.
 
If the ''locale'' is invalid, it is defaulted to ''en-GB''.
== Trouble in Paradise (for version < 7.0.0) ==
One design feature of ''CumulusMX'' is that the Locale is used in the file naming of the monthly logfiles of ''CumulusMX''. This sometimes leads to problems: if the Locale used for ''CumulusUtils'' is different from the Locale used by ''CumulusMX'', the monthly logs cannot be read in some cases. In this case the user can make use of the inifile parameter
MonthsOfMiracleAndWonder=jan,feb,mrt,apr,mei,jun,jul,aug,sep,okt,nov,dec
which is defaulted with the abbreviated month names for the locale used by ''CumulusUtils''. Changing these abbreviated month names to the ones used by ''CumulusMX'' will solve that issue.
 
The ''Locale'' determines the ''language'' and ''country'' settings for ''CUtils''. All module and website output of dates and numbers are governed by the ''Locale''. The user has no other configuration possibility to choose forrmat of dates and numbers. It is what it is.
If you change the Locale of ''CumulusUtils'' or of the machine on which you run CumulusMX (causing a change of filenames for the monthly logs), you may have to remove this parameter to reset it and change the defaults again or you may have to change the month abbreviations to what is expected.
 
[[Category:CumulusUtils]]