feat(ui): add initial i18n support by slx612 · Pull Request #3191 · Maintainerr/Maintainerr · GitHub
Skip to content

feat(ui): add initial i18n support#3191

Open
slx612 wants to merge 2 commits into
Maintainerr:developmentfrom
slx612:feat/spanish-i18n-starter
Open

feat(ui): add initial i18n support#3191
slx612 wants to merge 2 commits into
Maintainerr:developmentfrom
slx612:feat/spanish-i18n-starter

Conversation

@slx612

@slx612 slx612 commented Jun 29, 2026

Copy link
Copy Markdown

Description & Design

This PR adds an initial internationalization foundation for the Maintainerr UI.

It introduces:

  • A lightweight UI i18n provider based on the existing settings.locale
  • English and Spanish JSON locale files
  • Translation keys for selected navigation, settings, rules, and collections UI text
  • A short README describing a Weblate/Crowdin-friendly translation setup

The goal is not to translate the whole application in one PR, but to establish a simple structure that can be expanded incrementally and connected to a community translation platform later.

Related issue

No related issue.

AI-Assisted Development

This PR was prepared with AI assistance from Codex.

AI assistance was used to:

  • Inspect the existing UI structure
  • Scaffold the initial i18n provider
  • Extract a first small set of visible UI strings
  • Run local validation commands

I reviewed the resulting diff and validation output before submitting. The implementation is intentionally small and avoids adding a new runtime dependency.

Checklist

  • I have read the CONTRIBUTING.md document.
  • I understand the code I am submitting and can explain how it works
  • I have performed a self-review of my code
  • I have linted and formatted my code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

How to test

Validated locally with:

  1. node .yarn/releases/yarn-4.11.0.cjs --cwd packages/contracts build
  2. node .yarn/releases/yarn-4.11.0.cjs --cwd apps/ui lint
  3. node .yarn/releases/yarn-4.11.0.cjs --cwd apps/ui check-types
  4. node .yarn/releases/yarn-4.11.0.cjs --cwd apps/ui build
  5. node .yarn/releases/yarn-4.11.0.cjs --cwd apps/ui test

Additional context

The locale files are stored as JSON under apps/ui/src/i18n/locales/, which should be compatible with Weblate or Crowdin-style community translation workflows.

@slx612 slx612 requested a review from enoch85 as a code owner June 29, 2026 16:32
@slx612

slx612 commented Jun 29, 2026

Copy link
Copy Markdown
Author

@SmolSoftBoi SmolSoftBoi added the enhancement New feature or request label Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants