This commit is contained in:
2021-03-19 21:35:13 +00:00
parent d0fbcdc5b0
commit ab92fc2109

View File

@@ -1,4 +1,4 @@
# LOCALIZATION OVERRIDE
# LOCALIZATION OVERRIDES
Localization here means the way in which times, dates and numbers are displayed and interpreted by AyaNova.
It does *not* have any connection to the [Translation](ay-translation.md) features of AyaNova which determine what text is displayed in the user interface.
@@ -9,6 +9,9 @@ Rarely if ever should there be a need to override the browser's defaults as they
If necessary, these override settings will replace the browser provided defaults for use in AyaNova.
## When to override
Ideally the browser should already have the correct settings for the user based on their device or operating system already. If a change is required it's best to try to set it inside the browser itself first using the Browser's own settings and only rely on these settings below in AyaNova as a last resort.
## Language code override
@@ -36,14 +39,14 @@ This value must be the "database name" value, for example: `America/Denver` or `
If no value can be determined from the browser, and no override has been set, the default Time Zone used is `America/New_York`.
## Currency code (required not an override)
Browsers do not have a default currency code (at time of writing) so this is one setting that *must* be set by the user and included here for reference.
The Currency Code controls how currency values are displayed and accepted for input in AyaNova. The code must be one of the 3 character alphabetic [ISO 4217 active currency codes](https://wikipedia.org/wiki/ISO_4217#Active_codes) This value is *required* and cannot be determined from the Browser itself. If no setting is made the *default* value is "USD" for dollar symbol $.
Some other common currency codes are: "EUR" - Euro, "GBP" - Great British Pound, "CAD" - Canadian dollar, "AUD" - Australian dollar.
todo: list of common language codes here to save lookup
todo: alternative to forcing overrides by setting browser defaults instead in browser