Skip to content

chore(i18n): complete Italian translations with 100% placeholder validation - #43274

Merged
rusackas merged 3 commits into
apache:masterfrom
FrancescoCastaldi:fix-i18n-italian
Aug 30, 2026
Merged

rusackas merged 3 commits into
apache:masterfrom
FrancescoCastaldi:fix-i18n-italian

Conversation

@FrancescoCastaldi

Copy link
Copy Markdown
Contributor

Summary

This PR finishes the remaining Italian catalog translations in \superset/translations/it/LC_MESSAGES/messages.po, resolving all previously excluded entries and discrepancies with strict placeholder integrity.

Key Highlights

  • 100% Translated: Catalog has 0 untranslated entries and 0 fuzzy entries.
  • 0 Placeholder Mismatches: Every Python named format (%(key)s, %(key)d), positional parameter (%s, %d), and brace placeholder ({var}) was validated automatically and preserved byte-for-byte.
  • Domain Terms Preserved: Fixed all technical/BI domain terms (e.g. \DeckGL, \Time Grain\ -> Granularità temporale, \Sparkline, \SQL).
  • Compiled cleanly: Tested and validated with \polib\ / \msgfmt -c\ without any syntax or formatting errors.

@bito-code-review

bito-code-review Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Bito Automatic Review Skipped - Large PR

Bito didn't auto-review this change because the pull request exceeded the line limit. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.

@github-actions github-actions Bot added i18n Namespace | Anything related to localization i18n:italian Translation related to Italian language labels Aug 18, 2026
@codecov

codecov Bot commented Aug 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.99%. Comparing base (9f505eb) to head (df83667).
⚠️ Report is 194 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #43274      +/-   ##
==========================================
+ Coverage   78.85%   78.99%   +0.13%     
==========================================
  Files        2876     2878       +2     
  Lines      164581   165636    +1055     
  Branches    38011    38230     +219     
==========================================
+ Hits       129786   130847    +1061     
+ Misses      32348    32306      -42     
- Partials     2447     2483      +36     
Flag Coverage Δ
hive 37.91% <ø> (-0.17%) ⬇️
mysql 57.64% <ø> (-0.14%) ⬇️
postgres 57.67% <ø> (-0.14%) ⬇️
presto 39.82% <ø> (-0.19%) ⬇️
python 83.75% <ø> (+0.20%) ⬆️
sqlite 57.36% <ø> (-0.14%) ⬇️
unit 73.98% <ø> (+0.41%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sadpandajoe
sadpandajoe requested a review from rusackas August 18, 2026 17:32
@FrancescoCastaldi

Copy link
Copy Markdown
Contributor Author

Top

@sfirke

sfirke commented Aug 29, 2026

Copy link
Copy Markdown
Member

LGTM! Thank you.

I see a translation under the header #. do-not-translate - just mentioning that. What's the point of this header/label?

@FrancescoCastaldi

Copy link
Copy Markdown
Contributor Author

@sfirke Thanks for reviewing!

The #. do-not-translate header is an extracted comment (#.) that propagates from superset/translations/messages.pot into all language catalogs during pybabel update.

Its main purposes are:

  1. Guidance for literal code tokens / identifiers: It tags strings that were extracted by Babel because they appear inside t(...) / _() calls, but represent technical constants, icon names (such as bolt, step-after), enum keys (TEMPORAL_RANGE, DELETE, OVERWRITE), SQL syntax keywords (GROUP BY), percentiles (p95, p99), or mock/example domains (superset.example.com).
  2. Automation filter: Scripts like scripts/translations/backfill_po.py inspect the #. do-not-translate tag to skip machine-translating these tokens, preventing automated batches from altering programmatic tokens.
  3. Translator context: It informs maintainers and translators that the string is a literal token, so they can keep it literal or understand the technical context.

@sfirke

sfirke commented Aug 29, 2026

Copy link
Copy Markdown
Member

@FrancescoCastaldi so does that mean we should honor that comment and not translate the string? It was somewhere after line 24400 if I recall correctly

@FrancescoCastaldi

Copy link
Copy Markdown
Contributor Author

@sfirke Good catch! Yes, exactly. I just updated the Italian catalog to leave those do-not-translate tokens untranslated so gettext keeps them literal.

@netlify

netlify Bot commented Aug 29, 2026

Copy link
Copy Markdown

✅ Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit df83667
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a93698216850d00095d4b23
😎 Deploy Preview https://deploy-preview-43274--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@rusackas
rusackas merged commit 5f67e85 into apache:master Aug 30, 2026
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n:italian Translation related to Italian language i18n Namespace | Anything related to localization size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants