diff options
| author | Leitwolf11 | 2026-10-03 13:00:20 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-10-03 13:00:20 +0300 |
| commit | 5a321c2eb1c691bdb7cc96bbab1e28b88ef92aab (patch) | |
| tree | f22d4ab61815b98a0a9cbe7ce83461b7b0ea9b8a /apps/api/appsettings.Development.json | |
| parent | 8ba8d26ec4e6e900275fd5cd94e37a7aac701a1f (diff) | |
| download | progmaweb-5a321c2eb1c691bdb7cc96bbab1e28b88ef92aab.tar.gz | |
Add Hebrew and follow the browser language by default
Hebrew (he-IL) joins English, German and Russian with a complete message
tree and its own entry in the language menu.
A visitor who has not chosen a language now gets the language their browser
prefers. The Accept-Language header is negotiated by quality, only the
primary language is compared, and `iw` is accepted as the former code for
Hebrew. A browser that prefers no published language gets en-US, as before.
A language chosen in the menu is still stored in the cookie and always wins.
Hebrew does not mirror the page. The layout, the navigation and code keep
their left-to-right arrangement; only text follows the language. Blocks of
prose run right to left, short pieces such as links and buttons take the
direction of their own first letter, and inputs and code stay left to right.
The onward arrow points left in Hebrew, and a left-to-right mark keeps
"Visual X#" intact inside right-to-left text.
The Hebrew text was not reviewed by a native speaker.
Verified locally: node tests, type check, lint, prettier and a production
build; language selection per Accept-Language header against the dev server;
the Hebrew home and registration pages in a browser.
Diffstat (limited to 'apps/api/appsettings.Development.json')
0 files changed, 0 insertions, 0 deletions