Open
Conversation
- Add web/locales/ru/app.json and common.json with full Russian translation - Register 'ru' language in i18n/init.ts resources and normalizeLanguage() - Extend AppLanguage type to include 'ru' in AppShellContext and init.ts - Add 'ru-RU' locale mapping in lib/datetime.ts - Add 'Русский' button to the language switcher in settings page - Add 'language.russian' key to en/zh app.json and common.json for parity - i18n:parity check passes with all three languages balanced
…scover locales - SessionList: groupLabel() and relativeTime() now use i18n instead of hardcoded English - TutorBotRecent: relativeTime() uses Intl.RelativeTimeFormat with current locale - Add missing keys (Last 7 days, Earlier, language.russian) to all three locales - i18n_parity.mjs auto-discovers locale dirs instead of hardcoding en vs zh
…keys - memory/page.tsx: wrap all 12 hardcoded strings in t() — tabs, hints, toasts, button labels, empty states, formatUpdatedAt fallback - Fix variable shadowing: TABS.map(t) was hiding t() from useTranslation - agents/page.tsx: translate "Hide/Show secret" aria-labels - Add 14 missing keys to all 3 locales: Visualize, Summary, Profile hints, memory toasts, secrets, Updated label
Add 11 keys: Channels, Channels saved, Delivery, Enabled, channel error messages, and streaming options.
Covers: learning plan form, session history, page generation states, notebook context section, and empty states.
pack.bat — packages project to USB drive (excludes node_modules/.venv/.git) setup_daughter.bat — auto-installs Node.js, Ollama, uv, deps, model, shortcut start.bat — launches DeepTutor with duplicate-instance guard
Collaborator
|
Thanks for your contribution, but currently DeepTutor is under a rapid iterating and updating, so the interfaces will keep changing in a fast speed. Therefore I'm not gonna merge this right now. Thanks again for your contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
app.json+ 7 keys incommon.jsonruin i18n config,AppLanguagetype,normalizeLanguage(), and datetime localelanguage.russiankey toenandzhlocale files for paritynpm run i18n:paritypasses — all three languages are balancedChanged files
web/locales/ru/app.jsonweb/locales/ru/common.jsonweb/i18n/init.tsruApp, add to resources, extendAppLanguageweb/context/AppShellContext.tsxAppLanguagetype, updatenormalizeLanguage()web/lib/datetime.tsru-RUlocale mappingweb/app/(utility)/settings/page.tsx"ru"to language type unions and switcher UIweb/locales/en/app.jsonlanguage.russiankeyweb/locales/en/common.jsonlanguage.russiankeyweb/locales/zh/app.jsonlanguage.russiankeyweb/locales/zh/common.jsonlanguage.russiankeyScreenshots
Language switcher now shows three options: English | 中文 | Русский
Test plan
npm run i18n:parity— passes (all languages have matching keys)ru-RUlocale