Skip to content

feat(i18n): add Italian (it) translation - #154

Open
Menelaus-IT wants to merge 1 commit into
RoutineMiku:mainfrom
Menelaus-IT:italiano
Open

Menelaus-IT wants to merge 1 commit into
RoutineMiku:mainfrom
Menelaus-IT:italiano

Conversation

@Menelaus-IT

Copy link
Copy Markdown

Adds Italian as a UI language. Based on main at a694e53.

Changes

  • New dictionary src/i18n/it.json (1644 entries).
  • Register it in src/core/i18n.js, in the valid language list in src/core/store.js and in the HTML lang map in src/ui/i18n-dom.js.
  • Add "Italiano" to the first-run language picker, the UI language dropdown and the Android system language dropdown (it-IT).
  • Include it in the language lists of the tests.

Extra entries
Besides the 996 keys present in en.json, the dictionary covers many strings that appear in the UI but have no entry there (runtime and install messages, diagnostics, preflight checks, drivers, downloads and updates). They use {p0}-style placeholders for interpolated values. The same keys may be useful for the other languages.

Not covered
The built-in manual is still in Chinese, and a few rare composed messages (for example split download progress) may still show Chinese text.

Testing

  • i18n-test.js and tools/check-i18n.js pass; placeholders match in every entry.
  • All test files pass except one case in auto-test.js (144 passing, 1 failing): the packaging check, because @napi-rs/lzma is not installed on the test machine.
  • settings-ui-test.js (Electron) was not run.
  • Manually checked on Windows 11 in the main window and parts of the settings. The it-IT Android system language option was not tried.

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.

1 participant