mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
bb5c5dcfc1
Azerbaijani, Estonian, Slovak and Thai joined; the README and the wiki still counted 23.
1.9 KiB
1.9 KiB
Languages
TREK ships with translations for 27 languages. You can change your language at any time without logging out.
Supported languages
| Code | Language |
|---|---|
de |
Deutsch |
en |
English |
es |
Español |
et |
Eesti |
fr |
Français |
hu |
Magyar |
nl |
Nederlands |
br |
Português (Brasil) |
cs |
Česky |
sk |
Slovenčina |
pl |
Polski |
ru |
Русский |
zh |
简体中文 |
zh-TW |
繁體中文 |
it |
Italiano |
tr |
Türkçe |
ar |
العربية |
az |
Azərbaycanca |
id |
Bahasa Indonesia |
ja |
日本語 |
ko |
한국어 |
th |
ไทย |
uk |
Українська |
gr |
Ελληνικά |
sv |
Svenska |
vi |
Tiếng Việt |
ca |
Català |
RTL support
Arabic (ar) uses a right-to-left layout. All other languages use left-to-right.
How language is detected
TREK resolves the display language in this order:
- User preference — the language saved to your account (set in Settings → General).
- Browser language —
navigator.languages(andnavigator.language) reported by your browser. - Server default — the
DEFAULT_LANGUAGEenvironment variable set by the admin. - Fallback — English (
en).
Where the language picker appears
- Login / Register page — before you are signed in.
- Settings → General — after you are signed in. See Display-Settings.
- Public share pages — trip share links.
- Public journey pages — public-facing journey views.
Admin: The
DEFAULT_LANGUAGEenvironment variable sets the fallback language shown on the login page and for unauthenticated users. See Environment-Variables.