Linden
1e3b2cb567
feat(locale): locale hotloading
2024-04-01 19:16:53 +11:00
Linden
ec18bbf34a
fix(locale): setLocale
2022-10-19 04:14:36 +11:00
Linden
671be5e7a2
refactor(locale): simplify
...
BREAKING CHANGE (kind of)
Remove user-selection for locales. Adds mostly unnecessary complexity,
and most people don't want to bother with it anyway.
Locale is always based on the convar "ox:locale" instead.
2022-10-18 21:17:26 +11:00
Linden
91f52d12c1
refactor(client/locale): send GlobalState.locales to ui
2022-05-06 16:38:36 +10:00
Linden
d4b5e0402c
refactor(server/locale): get array of valid locales
2022-05-06 16:37:36 +10:00
Linden
f6b2df0e75
refactor(locale): default locale
2022-05-06 16:00:40 +10:00
Luke
fdb330a38f
fix(client): Move loadLocale function out of init
...
Setting a locale causes the whole application to be rerendered, meaning that the fetch for init would also run every time when locale is set
2022-05-01 11:07:44 +02:00
Luke
4db4c79d8a
feat(web): Settings modal, locale state provider
2022-04-30 14:49:49 +02:00
Linden
48728f0241
feat(locales): include some locales
...
Partial, and google translated just for the sake of setting an example.
Also renamed many of the language codes where the extra characters are
redundant (i.e. fr-FR, de-DE).
2022-04-30 05:04:15 +10:00
Linden
031cccd886
fix(locale): server hotload and "external" kvp
...
External kvp's don't exist for the server, so we have to export the proper language.
2022-04-29 16:53:24 +10:00
Linden
8af19bae42
feat: locale system
2022-04-29 05:56:41 +10:00