Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
31 lines
2.2 KiB
Markdown
31 lines
2.2 KiB
Markdown
## CHANGELOG
|
|
|
|
### The portal in Turkish
|
|
|
|
- **The web portal speaks English and Turkish** — the landing page, sign-up
|
|
and sign-in, the account page and its editor setup, the claim page, chat,
|
|
the about page, and every administrators' page (cluster, nodes, NVLink and
|
|
fabrics, people, limits, usage, organizations, mirror, guardrails), and
|
|
the docs portal around its documents, which stay English. Flash
|
|
messages and form errors built by the server are translated too.
|
|
- **A switcher at the foot of every page** (English · Türkçe) remembers the
|
|
choice in a cookie; without one the browser's Accept-Language decides, and
|
|
without that the new `landing.language` (`en` or `tr`, empty is English).
|
|
An unknown code stops the server starting. `<html lang>` and
|
|
Content-Language follow the page.
|
|
- **Figures and dates in the page's language**: a Turkish page writes
|
|
1.234,5, 04.10.2026 and "3 saat önce"; chart tooltips name the day in
|
|
Turkish. Form values, CSS and SVG coordinates are unchanged.
|
|
- **Ready for more languages**: the catalogue is JSON under
|
|
`internal/web/locales/<code>/`, and a language is a directory. Tests refuse
|
|
a key a page uses that some language lacks, a translation with different
|
|
arguments from English, and any template text left in English — so a new
|
|
page cannot quietly ship English-only.
|
|
- Messages that come from the control plane and other packages (node
|
|
warnings, engine errors, store refusals) are still shown as written, in
|
|
English; the API, CLI and console are English.
|
|
|
|
## BACKLOG
|
|
|
|
24 (portal i18n): built — English/Turkish catalogue with fallback, per-language templates, cookie/Accept-Language/`landing.language` choice and a footer switcher, Turkish numbers and dates, every template and handler message translated, tests that no template text stays English; left — errors built with fmt.Errorf in other packages (store, catalog, mirror, adminapi) still English on Turkish pages, the embedded Latin font subsets lack ğ/ş/İ (latin-ext subsets needed), percent sign placement is mixed (%50 on limits, 93% on cluster pages), RFC3339 footer timestamps and plain-text http.Error bodies untranslated, the /docs documents themselves English, a per-person language column (cookie only today).
|