feat(i18n): add Portuguese (Brazil) language support - #26
Open
rafaelbinda wants to merge 3 commits into
Open
Conversation
Adds a language toggle (EN / PT-BR) to the top bar. Clicking it saves the preference to localStorage and reloads the page with all UI strings translated — tab labels, KPI cards, table headers, chart legends, glossary, tips, settings, and the welcome modal. - web/i18n.js: new flat translation dictionary + t()/getLocale()/setLocale() - web/app.js: imports and re-exports t(); adds lang-btn to topbar - web/style.css: minimal style for the lang toggle button - web/routes/*: all seven routes now use t() for visible strings - README.md: documents the language selector feature Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rename 'Turno' to 'Interação' and rewrite descriptions for session, input/output tokens, cache read/created, and billable tokens to use more natural and precise Portuguese wording. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
rafaelbinda
force-pushed
the
feat/pt-br-i18n
branch
from
June 15, 2026 00:13
8cc4ed8 to
35b7d3e
Compare
…ar buttons Move language toggle button before the plan pill so the topbar reads [PT-BR] [pro] [hide] instead of [pro] [PT-BR] [hide]. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
Changes
web/i18n.js(new): translation dictionary +t()/getLocale()/setLocale()web/app.js: re-exportst(); adds EN / PT-BR button to topbarweb/style.css: minimal toggle button styleweb/routes/*: all seven routes uset()for visible stringsREADME.md: documents the language selectorTest plan
python3 -m unittest discover tests— 71 tests green🤖 Generated with Claude Code