Skip to content

Dashboard translation with vue-i18n (English + Brazilian Portuguese) - #65

Open
andrewsbejatto wants to merge 1 commit into
amidaware:developfrom
andrewsbejatto:feature/i18n-pt-br
Open

andrewsbejatto wants to merge 1 commit into
amidaware:developfrom
andrewsbejatto:feature/i18n-pt-br

Conversation

@andrewsbejatto

@andrewsbejatto andrewsbejatto commented Nov 11, 2026 •

Copy link
Copy Markdown

Summary

Translates the dashboard with vue-i18n and adds Brazilian Portuguese. Needs the backend PR amidaware/tacticalrmm#2585 (User.language).

  • vue-i18n 9 (legacy: false, global injection), boot file src/boot/i18n.ts.
  • Messages in src/i18n/locales/<locale>/<namespace>.json (27 namespaces, loaded with import.meta.globEager). en-US and pt-BR have the same 2424 keys.
  • All UI strings go through $t / t(): dashboard, agent table/tabs/modals, remote background, file browser, checks, tasks, automation, alerts, clients, scripts, settings, reporting and SSO screens. The English texts are the same as before.
  • Language selector on the login page and in User Preferences. Saved per user; empty = browser language, with English as fallback. Applied from dashinfo after login.
  • Quasar's own components (date pickers, tables, dialogs) follow the selected language (quasar/lang).

Adding a language = a folder with the JSON files + the choice in the backend.

Testing

  • npm run lint -- --max-warnings=0 and quasar build.
  • Script checks: same keys in both locales, same {placeholders} per key, every key used in src exists, and all 4848 messages compile with the vue-i18n message compiler.
  • The same translation (on top of web v0.101.65) runs on our Tactical RMM test server (v1.6.1) in Portuguese.

npm run format was only applied to the files changed here.

🤖 Generated with Claude Code

- vue-i18n 9 (legacy: false, global injection), boot file src/boot/i18n.ts
- messages in src/i18n/locales/<locale>/<namespace>.json, loaded with
  import.meta.globEager; en-US and pt-BR have the same keys (2424)
- all UI strings of the dashboard, settings, agent tabs/modals, remote
  background, file browser, reporting and SSO screens go through $t / t()
- language selector on the login page and in User Preferences; saved per
  user (User.language, "" = browser language) and applied from dashinfo
- Quasar's own components follow the selected language (quasar/lang)

Needs the backend change that adds User.language (tacticalrmm
feature/user-language).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Nov 11, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants