You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "rusackas (via GitHub)" <gi...@apache.org> on 2026/07/01 06:54:56 UTC
[PR] feat(i18n): backfill Finnish (fi) translations (AI-generated, needs review) [superset]
rusackas opened a new pull request, #41613:
URL: https://github.com/apache/superset/pull/41613
### SUMMARY
Backfills the **105 remaining untranslated entries** in the Finnish (`fi`) catalog using `scripts/translations/backfill_po.py`, which drafts translations with Claude using every other language's existing translation of the same string as cross-language disambiguation context (per `docs/developer_docs/contributing/howtos.md`).
All generated strings are marked `#, fuzzy` with a `Machine-translated via backfill_po.py` attribution comment, so they are **excluded from compiled `.mo` output until a human reviewer confirms them**. The newly-filled entries were verified to preserve their format placeholders (`%(name)s`, `%s`, etc.).
Tracked by `check_translation_regression.py` as `untranslated → fuzzy`, which is explicitly **not** a regression. Part of a per-language sweep; follows #41608 (de), #41609 (es), #41612 (lv).
> **Reviewer note:** this catalog was previously AI-backfilled (#40390), so most existing entries already carry the `backfill_po.py` attribution + `#, fuzzy`. A broader placeholder scan of the *pre-existing* entries surfaced ~52 spots where a `%s`-style placeholder appears to be dropped — those predate this PR and are out of scope here, but flagging in case it's worth a follow-up cleanup pass.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A — translation catalog only, no UI change until entries are reviewed and de-fuzzed.
### TESTING INSTRUCTIONS
- `pybabel compile -d superset/translations -l fi` succeeds (fuzzy entries are skipped, as intended).
- Finnish native speakers: review the `#, fuzzy` entries; correct any `msgstr` and remove the `#, fuzzy` flag + attribution comment to promote them to confirmed translations.
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [x] Required feature flags:
- [x] Changes UI
- [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] feat(i18n): backfill Finnish (fi) translations (AI-generated, needs review) [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #41613:
URL: https://github.com/apache/superset/pull/41613#issuecomment-4851169161
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] feat(i18n): backfill Finnish (fi) translations (AI-generated, needs review) [superset]
Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe merged PR #41613:
URL: https://github.com/apache/superset/pull/41613
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] feat(i18n): backfill Finnish (fi) translations (AI-generated, needs review) [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on code in PR #41613:
URL: https://github.com/apache/superset/pull/41613#discussion_r3503988921
##########
superset/translations/fi/LC_MESSAGES/messages.po:
##########
@@ -31208,17 +31554,23 @@ msgstr "joka kuukausi"
msgid "expand"
msgstr "laajenna"
+# Machine-translated via backfill_po.py (claude-sonnet-4-6) [refs: de, sr,
+# sr_Latn]
+#, fuzzy
msgid "extra.dashboard must be an object"
-msgstr ""
+msgstr "extra.dashboard täytyy olla objekti"
Review Comment:
<div>
<div id="suggestion">
<div id="issue"><b>Translation memory contamination</b></div>
<div id="fix">
Entry for msgid "for a list of available helpers." (line 31561) has msgstr "Ei käytettävissä olevia suodattimia." — this is the Finnish translation for "No available filters." (line 16471). The AI appears to have retrieved the wrong translation from a similar source string.
</div>
</div>
<small><i>Code Review Run #a5d1b2</i></small>
</div>
---
Should Bito avoid suggestions like this for future reviews? (<a href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
- [ ] Yes, avoid them
##########
superset/translations/fi/LC_MESSAGES/messages.po:
##########
@@ -15111,8 +15245,11 @@ msgstr "Mapbox"
msgid "Mapbox (API key required)"
msgstr "Sähköposti on pakollinen"
Review Comment:
<div>
<div id="suggestion">
<div id="issue"><b>Crosstalk translation error</b></div>
<div id="fix">
The translation 'Sähköposti on pakollinen' (email is required) is incorrectly assigned to `msgid "Mapbox (API key required)"`. This appears to be cross-contamination from the nearby `Email is required` entry (line 10457). Finnish-speaking users will see the wrong message when Mapbox configuration is discussed.
</div>
</div>
<small><i>Code Review Run #a5d1b2</i></small>
</div>
---
Should Bito avoid suggestions like this for future reviews? (<a href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
- [ ] Yes, avoid them
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] feat(i18n): backfill Finnish (fi) translations (AI-generated, needs review) [superset]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #41613:
URL: https://github.com/apache/superset/pull/41613#issuecomment-4851204218
## [Codecov](https://app.codecov.io/gh/apache/superset/pull/41613?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 55.73%. Comparing base ([`3e88b48`](https://app.codecov.io/gh/apache/superset/commit/3e88b487b32d2721f7e419225d91572488365a2a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`a6dcaee`](https://app.codecov.io/gh/apache/superset/commit/a6dcaeedd6a3f8ff464f1f8667ca6057d20e5711?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 1 commits behind head on master.
> :exclamation: There is a different number of reports uploaded between BASE (3e88b48) and HEAD (a6dcaee). Click for more details.
>
> <details><summary>HEAD has 20 uploads less than BASE</summary>
>
>| Flag | BASE (3e88b48) | HEAD (a6dcaee) |
>|------|------|------|
>|python|18|2|
>|presto|3|1|
>|hive|3|1|
></details>
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #41613 +/- ##
==========================================
- Coverage 64.42% 55.73% -8.69%
==========================================
Files 2668 2668
Lines 147181 147183 +2
Branches 33946 33947 +1
==========================================
- Hits 94815 82031 -12784
- Misses 50649 64412 +13763
+ Partials 1717 740 -977
```
| [Flag](https://app.codecov.io/gh/apache/superset/pull/41613/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [hive](https://app.codecov.io/gh/apache/superset/pull/41613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `39.10% <ø> (-0.01%)` | :arrow_down: |
| [mysql](https://app.codecov.io/gh/apache/superset/pull/41613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [postgres](https://app.codecov.io/gh/apache/superset/pull/41613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [presto](https://app.codecov.io/gh/apache/superset/pull/41613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.65% <ø> (-0.01%)` | :arrow_down: |
| [python](https://app.codecov.io/gh/apache/superset/pull/41613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.71% <ø> (-18.42%)` | :arrow_down: |
| [sqlite](https://app.codecov.io/gh/apache/superset/pull/41613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [unit](https://app.codecov.io/gh/apache/superset/pull/41613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/superset/pull/41613?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org