Skip to content

feat(i18n): add Italian (it) translation#2011

Open
s0up4200 wants to merge 1 commit into
developfrom
feat/i18n-italian
Open

feat(i18n): add Italian (it) translation#2011
s0up4200 wants to merge 1 commit into
developfrom
feat/i18n-italian

Conversation

@s0up4200

@s0up4200 s0up4200 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Adds Italian (it / Italiano) as a fully translated locale across all 10 namespaces (5,044 strings), following the Adding Languages workflow in web/AGENTS.md. Registers it in the i18n config and adds an it coverage checker wired into check:i18n, so it is auto-detected from browser language and selectable from the language switcher. pnpm check:i18n passes with 0 errors (placeholder/HTML/key parity verified).

Translations are machine-generated and AI-reviewed for terminology and grammar; a native-speaker pass before release is welcome. Closes #2010

Summary by CodeRabbit

  • New Features

    • Italian language support is now available throughout the application interface, including automatic browser-language detection on first load and language persistence.
  • Documentation

    • Updated README and documentation to reflect Italian as a supported language alongside English, German, French, and Simplified Chinese.

Adds Italian as a fully translated locale across all 10 namespaces,
registers it in the i18n config and language switcher, adds an `it`
coverage checker wired into check:i18n, and updates the README/docs
language lists.

Closes #2010
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 4b01a3e0-d361-4abd-9f60-512399b12910

📥 Commits

Reviewing files that changed from the base of the PR and between f3443ec and 1398043.

📒 Files selected for processing (15)
  • README.md
  • documentation/docs/intro.md
  • web/package.json
  • web/scripts/check-it-coverage.mjs
  • web/src/i18n/index.ts
  • web/src/i18n/locales/it/auth.json
  • web/src/i18n/locales/it/automations.json
  • web/src/i18n/locales/it/common.json
  • web/src/i18n/locales/it/crossseed.json
  • web/src/i18n/locales/it/dashboard.json
  • web/src/i18n/locales/it/instances.json
  • web/src/i18n/locales/it/rss.json
  • web/src/i18n/locales/it/search.json
  • web/src/i18n/locales/it/settings.json
  • web/src/i18n/locales/it/torrents.json

Walkthrough

This pull request adds Italian as a fully supported language to the autobrr/qui web application. Italian is registered in the i18n configuration, documented in public-facing docs, validated through a new coverage script, and supported by complete Italian translations for all UI feature areas.

Changes

Italian Language Support

Layer / File(s) Summary
Language registration and script setup
web/src/i18n/index.ts, web/package.json
Italian (it) is added to supportedLanguages, extends the AppLanguage union type, receives a display name in languageNames, and a new check:i18n:it npm script is registered for validation.
Documentation announcements
README.md, documentation/docs/intro.md
Public documentation is updated to list Italian alongside English, German, French, and Simplified Chinese in the Multi-Language feature set.
Italian translation coverage validation
web/scripts/check-it-coverage.mjs
A new validation script verifies Italian locale completeness by detecting missing/extra keys (with CLDR plural pair handling), interpolation variable mismatches, HTML tag disparities, empty strings, encoding errors, and categorizing untranslated entries by likely cause (technical terms, URLs, paths, placeholders, patterns, examples). Reports aggregated findings with per-namespace error/warning counts and exits with status 1 on errors.
Italian translation locale files
web/src/i18n/locales/it/auth.json, automations.json, common.json, crossseed.json, dashboard.json, rss.json, search.json, settings.json, torrents.json
Complete Italian translations added across all UI feature areas: authentication, automations, dashboard, search, RSS, torrents, cross-seed, and application settings, covering page labels, form fields, action buttons, validation/error messages, status indicators, tooltips, toast notifications, and pluralized/parameterized strings.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • autobrr/qui#2009: Documentation-only updates to the Multi-Language feature announcement in README.md and documentation/docs/intro.md that are built upon by this PR.
  • autobrr/qui#1956: Earlier language addition (French) that follows the same pattern of extending supportedLanguages/languageNames, adding npm validation scripts, and populating locale files.
  • autobrr/qui#1965: Similar language support addition (German) with parallel web/src/i18n/index.ts updates and a check-de-coverage.mjs validation script analogous to the new check-it-coverage.mjs.

Suggested labels

web

Poem

🐰 Grazie mille, Italian friends!
A rabbit hops through locales new,
With it in place, the app now sings
In bella lingua through and through.
Benvenuti alla translation festa! 🇮🇹

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 10.53% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat(i18n): add Italian (it) translation' clearly and concisely summarizes the primary change of adding Italian language support to the application.
Linked Issues check ✅ Passed The PR fully addresses issue #2010 by adding complete Italian localization across all 10 namespaces (5,044 strings) with proper i18n configuration, coverage checking, and browser language detection.
Out of Scope Changes check ✅ Passed All changes are directly related to adding Italian language support: README/documentation updates, i18n configuration, locale files, and coverage checking scripts are all within scope.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/i18n-italian

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

[Feature Request] - Add Language italian

1 participant