Repository navigation
l10n: add Italian - #528
Merged
Merged
Conversation
frontend/l10n/it.json: every launcher text in Italian (1022 keys, the same coverage as German and French, plus the one ios. key they have), in the informal "tu", with Apple's Italian terms for system things and technical names (prod.keys, NSP, RomFS, Metal, Xcode) left as players see them in logs. The _language block names it Italiano, with the locales it, italian and italiano and no order, so it comes after the five. The texts are the ones of LNPANDY#352, moved to the new file. Italian is declared where every language of the files is: the Mac app (build-mac-app.yml, tools/try-local), the iOS demo app (project.yml and Gen/Info.plist) and the engine's shell app (patch 0060, after 0059). The ShellUI catalog is regenerated with tools/l10n_shell_catalogs.py. The tests that listed the five languages now list Italian sixth (the picker order, the button cycle, the files in the checkout), and the temporary language of the "one more file" tests comes after it. The tests that compare the detection with the code before the files accept that it-IT / it_it, English then, selects Italian now, and check that it does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dino0005
force-pushed
the
l10n/italian-json
branch
from
November 2, 2026 19:15
3af89cc to
495a10d
Compare
Collaborator
|
Thanks @Dino0005. The Italian file is in Two follow-ups for you, when you have time. The export card of #531 added 38 launcher texts after you branched. They show English in Italian until they are translated: run the key check and it lists them. And a review of the Italian by @PikaMan80 or any native speaker after the release candidate is welcome. I could not judge the quality myself. |
This was referenced Nov 2, 2026
5 of 6 tasks
5 of 6 tasks
4 of 6 tasks
1 task done
4 of 6 tasks
v0lumehi
pushed a commit
that referenced
this pull request
Nov 4, 2026
The seven texts of the Switch 2 games (#603-#607) came in as a machine translation with "motore". The rest of it.json says "engine" (l'engine, masculine), as chosen in #528, so the app used two words for one thing. Now "engine" is the word in all 36 texts that name it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Redoes #352 in the new format, as @v0lumehi described there. #352 can be closed.
Fix or feature
Feature from outside: the issue in a milestone is linked: #388 (v1.0.2), and #352 was in v1.2.0.
What and why
Italian for the Mac and the Windows launcher, as one new file:
frontend/l10n/it.json.ios.key they have), in the informal "tu", with Apple's Italian terms for system things and technical names (prod.keys, NSP, RomFS, Metal, Xcode) left as players see them in logs. "Engine" stays "engine" (masculine, "l'engine"), as Italian players call it, rather than "motore". The texts are the ones of l10n: add complete Italian localization #352, with the keys added since then translated and the one changed English text (msg.workdirHint) followed._languageis{"name": "Italiano", "locales": ["it", "italian", "italiano"]}, with noorder, so Italian comes after the five.The file alone did not keep CI green, so the PR has a few more lines:
frontend-ios/Demo/project.ymlandGen/Info.plist), and the engine's shell app as patch0060after0059(Upstream-Status: fork-only,tools/engine.py checkpasses). The ShellUI catalog is regenerated withpython3 tools/l10n_shell_catalogs.py: 51 of its 118 texts are shared with the launcher and are Italian now, the others show English. If you would rather fold the one word into0056, or do this part yourself, I can drop it from the PR.itis inCFBundleLocalizationsofbuild-mac-app.ymlandtools/try-local, whichtest_try_localkeeps in step.LanguageListTests.swift,test_language_list.py,test_i18n_detect.pyandtest_localization_table.pyfailed with a sixth file, because they compare against the five codes. They now list Italian sixth (the picker order, the button cycle, the files in the checkout), and the temporaryxxlanguage of the "one more file" tests comes after it. The two tests that compare the detection with the code before the files skip an input that the old code gave English and a newer file now claims (it-IT/it_itis Italian), and check that it does.Checked
cd frontend && swift test, all green (NXCoreTests 118, NXModelTests 132, NX2AppleTests 645 with 17 skipped captures), includingLocalizationRulesTests.python3 -m unittest discover -s frontend-qt/testsOK (14 skipped).python3 -m unittest discover tools/testsOK, includingtest_l10n_shell_catalogs.py.python3 tools/engine.py check: 36 patches apply to the pin. The pre-push hook passed.NX_LAUNCHER_CAPTURE_DIR=<dir> NX_CAPTURE_LANG=it swift testand the same inen, 78 views each, looked through for cut or overlapping text. Two capture tests render a fixed language (FrameTimesTestssets.en, the dropdown capture inLauncherDropdownTestslists five languages in German), so for the launch options and the language picker below I switched them to Italian locally for the capture only. That change is not in the PR.Screenshots
Before (English) and after (Italian), from the capture tests:
Scope
dm/,scripts/,docs/,ref/) is added to the repository: a change there is a patch inpatches/(a commit inengine/, thentools/engine.py export, andtools/engine.py checkpasses), with itsUpstream-Statusforwarded seedds/nxnative#..., orpendinguntil that PR is open@PikaMan80 a review of the Italian wording is very welcome: the "Files changed" tab,
frontend/l10n/it.json, and "Add a suggestion" on any line.