Repository navigation
feat(i18n): add Brazilian Portuguese and English interface translations - #43
Open
josevictoremiliano wants to merge 5 commits into
Open
josevictoremiliano wants to merge 5 commits into
josevictoremiliano wants to merge 5 commits into
Conversation
mgramelich
approved these changes
Nov 15, 2026
Merge origin/main while preserving saved orientation, translating new gaming controls and orientation messages, and isolating engine tests from running emulators.
Resolve upstream integration conflicts while preserving standalone runtime, drivers, preflight, resource and orientation features. Translate new UI and splash strings, initialize catalogs before startup windows, render context menu labels lazily, and validate translations in the existing CI test command.
5 tasks done
Merge current main while preserving native window fixes, ARM retry handling, settings categories, automatic diagnostics and manual routing. Add localized UI messages, keep language selection in the basic category, defer category labels until catalogs load, and validate category search and tutorial routing in isolated UI tests.
Preserve upstream incremental updates, microphone support, GPU preferences, laboratory settings and runtime fixes. Resolve integration conflicts, add corresponding locale messages and validate hardware controls in the isolated UI suite.
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
Add Brazilian Portuguese and English interface translations while preserving Simplified Chinese, using a dependency-free internationalization layer. This branch integrates upstream main through 0.6.4 (
7e2c550), preserving incremental updates, runtime fixes, microphone support, GPU preferences, laboratory settings, automatic diagnostics and manual/tutorial routing.zh-CN,pt-BR,en) with consistent interpolation placeholders.npm test, with isolated Electron UI coverage and an optional lightweight local test installer.Validation of the current commit
npm testpassed on Windows with Node 20.20.2 and Node 22.23.5: 416 tests across 16 suites passed on each version, followed by validation of 1,033 messages in all three catalogs. Optional real-APK fixture coverage was skipped because no fixture was supplied.npm run test:i18n:uipassed in Portuguese, English and Chinese: language persistence, settings layout, gaming priority, microphone default, GPU selection/status, laboratory navigation/notice, context menus, localized search, diagnostic labels, help-button issue routing, data-partition warnings and app-launch feedback.npm run test:uipassed: 21 settings UI checks, including laboratory, microphone and GPU controls.test/pointer-hook-logic.ps1returnedPOINTER_HOOK_LOGIC_OK.git diff --checkpassed.Scope and limitations
App names, package names, paths, upstream release notes and raw runtime logs are preserved. Some diagnostics and reports emitted by internal runtime components still use Chinese. The bundled user manual remains in its original language; its entry points and window title are localized. UI tests use mocked Android APIs and do not validate actual Android app startup or real microphone/GPU behavior.
The contributor installed and manually tested the earlier local
0.4.2-i18n.1build. That manual test is not an end-to-end test of this updated 0.6.4 integration. No new installer or public release was published for the current commit.The optional lightweight test installer reuses existing runtime data or downloads missing components on demand. No installer binary or Android image is added by this PR. Upstream's release version and update behavior are preserved.