Repository navigation
Implement German localization and provider-specific support - #28
Merged
Merged
Conversation
Add provider-aware German source audio support
fix: prevent Vite proxy from triggering backend origin check Trim deployment passwords before sign-in, clear stale errors on retry, and strip browser Origin headers from proxied backend requests.
Add English and German localization for web and iOS
- Added LocalizedText component for translating UI labels. - Introduced AppLanguageProvider for managing app language state and translations. - Updated ConsumerSettingsPage and MultilingualShowcasePage to utilize localization. - Refactored SharedSessionPage to use LocalizedText for button and label translations. - Added tests for localization functionality ensuring UI labels switch correctly without affecting transcript content.
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.
Adds React-rendered Chinese, English, and German localization to the Web interface and welcome page. UI labels are translated explicitly, without mutating transcript, translation, or history content. Passwords are submitted exactly as entered. German source input is exposed only for the selected ready Aliyun Qwen LiveTranslate provider; the legacy source-language list remains zh/en. The Vite proxy and Origin handling are unchanged.
Validation performed:
npm test --workspace web— passed (7 files, 94 tests).npm run build --workspace web— passed (Vite reports non-blocking chunk-size and ineffective dynamic-import warnings).go -C backend test ./...— passed.git diff --check— passed.Confirmed: no credentials, user data, private deployment configuration, or model assets are included.