Repository navigation
feat(i18n): add Brazilian Portuguese (pt-BR) locale and localize hardcoded dashboard strings - #2
Merged
Merged
Conversation
added 3 commits
October 6, 2026 10:49
- dashboard: pt-BR UI strings, resolveLocaleKey maps pt / pt-BR / portuguese - understand skill: pt-BR output guidelines; portuguese -> pt-BR - README: list pt-BR among supported languages
- Move remaining user-visible English (token gate, path finder, learn panel, warning/staleness banners, export alerts, code viewer errors, graph node cards, empty states, load errors, aria-labels) into the locale files. - Render complexity, node types, edge categories and edge types through localized labels (new nodeTypeNames/edgeCategoryNames sections and utils/i18nLabels helpers). - Use functions for counted/interpolated messages so each locale can apply its own plural rules (e.g. Russian one/few/many). - Add the new keys to en, zh, zh-TW, ja, ko, ru, vi and pt-BR. - Token gate follows the browser language; locale resolution retries the base language for tags such as ja-JP. - Locale shape test now compares leaf keys (and their kind) for every locale.
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.
Same change as upstream Egonex-AI#716, merged into this fork so the plugin can be installed from it while the upstream PR is pending review.