diff options
| author | Leitwolf11 | 2026-10-03 01:43:43 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-10-03 01:43:43 +0300 |
| commit | f25c01f1d173b9e206565207472b58ca51f90803 (patch) | |
| tree | c4244396690eb895815b89802a8c5cb7261f47a9 /Documents | |
| parent | 1045265e9ae018cb3d2d94a47d780888c26d04a2 (diff) | |
| download | website-feature/russian-locale.tar.gz | |
Add Russian to the language site and the forum placeholderfeature/russian-locale
Russian (ru-RU) is the third locale of the language site: the shell, the
home, overview and getting-started pages, and the page metadata are fully
translated, and the language menu offers it. The documentation sidebar reads
its labels from the page messages instead of a two-way locale test, and the
stored preference is accepted only when it names a supported locale.
The forum placeholder gets the same three languages. Its language control
is now a menu instead of a two-state button, and an unknown stored or
selected value keeps the current language.
The site API lists the new locale. Verified locally: prettier, the frontend
tests, vue-tsc and the Vite build, the backend tests, and a browser run of
the home and overview pages in Russian.
Diffstat (limited to 'Documents')
| -rw-r--r-- | Documents/CONTENT.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documents/CONTENT.md b/Documents/CONTENT.md index 05d5eb8..d9d43bb 100644 --- a/Documents/CONTENT.md +++ b/Documents/CONTENT.md @@ -94,20 +94,20 @@ management flow to link from this guide. The placeholder may say the forum will come later, once the community is ready. It must not imply that an account can be created now or that discussion posts are stored elsewhere. Its default is English and dark, -with German and light options for consistency. Its noindex status applies +with German, Russian and light options for consistency. Its noindex status applies both in HTML and at the server boundary. ## Translation rules -`en-US` is the default and must carry complete content. `de-DE` should -express the same meaning, not mechanically mirror sentence length. Keep +`en-US` is the default and must carry complete content. `de-DE` and `ru-RU` +should express the same meaning, not mechanically mirror sentence length. Keep technical spellings such as `Visual.XSharp.kts`, `CorePrep`, `Xpp`, and `Xmm` stable. Translate navigation labels, help text, figure descriptions, -and accessible names. When adding a paragraph or an interaction, add both -languages in the same change so a locale switch never leaves mixed copy. +and accessible names. When adding a paragraph or an interaction, add every +language in the same change so a locale switch never leaves mixed copy. The URL is shared between language preferences. Do not emit inaccurate -`hreflang` alternatives implying separate German URLs. The document `lang` +`hreflang` alternatives implying separate German or Russian URLs. The document `lang` attribute and browser metadata should follow the selected locale. The canonical URL should remain the supported route without tracking query parameters. |