Commit Graph

33 Commits

Author SHA1 Message Date
schroda
edbbc81575 Fix missing type support for i18n resources
Due to the change in 65a9a905be - moving to a json file - it wasn't ensured anymore that IsoLanguages contained the i18n language codes
2026-01-30 21:54:39 +01:00
schroda
c5cdd347b7 Update available languages 2026-01-30 21:54:35 +01:00
schroda
12cac252de Prevent language switch on initial load
The change of bb36a46a24 causes a "language blink" on the initial load.
This happens due to having to wait till the selected language has been loaded from the server. Until this request is resolved, lingui initializes with the detected language, which might not match the selected one. This then causes the language to potentially be changed shortly after the initial load to a different language.
2026-01-23 02:15:26 +01:00
schroda
bb36a46a24 Save selected app language on server 2026-01-22 00:14:52 +01:00
schroda
65a9a905be Migrate to lingui
Switch to "lingui" for better DX.
Tried to persist existing languages as much as possible.

Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
2026-01-13 17:33:36 +01:00
github-actions[bot]
1c4debc0db Update available languages 2026-01-10 15:58:27 +00:00
github-actions[bot]
d3aacfdc3f Update available languages 2025-12-30 16:24:23 +00:00
github-actions[bot]
e87d8ccc27 Update available languages 2025-11-25 00:11:58 +00:00
schroda
ad3b8d4567 Update server injected subpath detection 2025-09-25 00:20:31 +02:00
Soner Köksal
4d4477640e Add dynamic subpath support (#1011)
* Add dynamic subpath support for WebUI

- Add SubpathConfig utility for server-side subpath detection
- Configure React Router basename from server config
- Update API base URL handling for subpath compatibility
- Fix asset loading with relative paths
- Add VITE_SUBPATH environment variable for development
- Update locales and manifest paths for subpath support

Closes #174

* Move VITE_SUBPATH interface to vite-env.d.ts

* Ensure production bundle always uses relative base
2025-09-23 23:23:19 +02:00
github-actions[bot]
4a07198af6 Update available languages 2025-09-21 15:07:41 +00:00
github-actions[bot]
870174632b Update available languages 2025-08-18 23:32:49 +00:00
schroda
aee758916b Update available languages 2025-07-03 20:22:39 +02:00
schroda
53b31955af Update available languages 2025-05-17 19:05:09 +02:00
schroda
dbf06a54b9 Update available languages 2025-04-05 13:08:48 +02:00
schroda
5c770ffa62 Update available languages 2025-03-25 21:00:11 +01:00
schroda
c4ba483efe Add new languages to resources 2025-03-09 16:26:23 +01:00
schroda
09ff0f3ca0 Set i18n supported languages 2025-02-17 03:07:20 +01:00
schroda
0a34ae01ba Require languages to be at least 75% translated 2025-02-17 02:57:16 +01:00
schroda
61ae717e9a Add new languages to resources 2024-11-27 22:02:26 +01:00
schroda
6664efb48e Add new languages to resources 2024-08-05 16:07:15 +02:00
schroda
01ab88af62 Add new languages to resources 2024-07-17 22:54:26 +02:00
schroda
b581c0d896 Add new languages to resources 2024-05-11 01:28:25 +02:00
schroda
082f923e10 Improve i18n resource typing 2024-04-24 23:56:06 +02:00
schroda
a7cafb59a4 Fix missing translations for language selection setting 2024-04-24 23:53:43 +02:00
schroda
6276da42cf Feature/i18n load resources from backend (#746)
* Load i18n resources from backend

* Move locales to public folder
2024-04-14 17:32:25 +02:00
schroda
b2e6c040f1 [i18n] Format text to local lowercase (#481) 2023-11-27 19:14:58 +01:00
schroda
9b96560a17 Feature/settings backup (#453)
* Show loading indicator for "NumberSetting"

* [i18n] Add lowercase interpolation format

* Add required dependencies for time settings

* Dynamically import dayjs locales for languages

* Add backup settings
2023-11-12 01:41:10 +01:00
schroda
5a5b12a9e1 [ESLint] Prefer named exports (#427) 2023-10-28 00:32:02 +02:00
schroda
4b83ccc889 Feature/use alias for imports (#352)
* Use alias "@" for imports

* Use alias "@" for imports - Fix imports

* Use alias "@" for imports - Prevent faulty "import/extensions" linting issue

For some reason the rule throws an error for alias imports

* Use alias "@" for imports - Update "no-relative-imports" eslint rule
2023-06-05 01:42:39 +02:00
schroda
58eb2fead3 Feature/enforce license notice in each file via eslint rule (#304)
* [ESLint] Add "eslint-plugin-header" as dev dependency

* [ESLint::eslint-plugin-header] Setup rule

* [ESLint::eslint-plugin-header] Fix errors
2023-05-18 13:17:41 +02:00
Aria Moradi
76d44bd657 clean up translations 2023-02-14 16:28:37 +03:30
Aria Moradi
1c7c3e566c add i18n (#239) 2023-02-13 20:21:44 +03:30