Skip to content

Resolves: MTV-6258 | Fix empty i18n strings in secondary locale files - #2645

Open
avivtur wants to merge 1 commit into
kubev2v:mainfrom
avivtur:bug/MTV-6258
Open

Resolves: MTV-6258 | Fix empty i18n strings in secondary locale files#2645
avivtur wants to merge 1 commit into
kubev2v:mainfrom
avivtur:bug/MTV-6258

Conversation

@avivtur

@avivtur avivtur commented Aug 4, 2026

Copy link
Copy Markdown
Member

Summary

Follow-up to PR #2613 which fixed the defaultValue signature in i18next.config.ts but did not clean up existing empty strings already written to secondary locale files by PR #2611.

At runtime, i18next treats "" as a valid (empty) translation and renders blank text instead of falling back to the English key. This affected 7 Resume Conversion keys in es/fr and 6 in ja/ko/zh.

Fix: Remove the empty-string entries from all 5 secondary locale files and re-run npm run i18n so they get re-extracted with the English key as placeholder (now that PR #2613's defaultValue fix is in place).

Test plan

  • npm run i18n — no empty strings in any locale file
  • npm run build — passes (pre-existing asset-size warnings only)
  • npm test — 804/804 pass
  • Pre-commit hooks (eslint, prettier, i18n, knip) pass

Resolves: MTV-6258

PR kubev2v#2613 fixed the i18next-cli defaultValue signature but did not
clean up existing empty strings left by PR kubev2v#2611 (Resume Conversion
keys). At runtime i18next treats "" as a valid empty translation and
renders blank text instead of falling back to the English key.

Remove empty-string entries and re-run i18n extraction so all
secondary locales (es, fr, ja, ko, zh) get the English key as
placeholder until properly translated.

Resolves: MTV-6258
Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@avivtur avivtur added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Aug 4, 2026
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@avivtur, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: b372b0a4-f138-4991-abbb-dd0cc1e73c9d

📥 Commits

Reviewing files that changed from the base of the PR and between 824a1a1 and 7129e34.

📒 Files selected for processing (5)
  • locales/es/plugin__forklift-console-plugin.json
  • locales/fr/plugin__forklift-console-plugin.json
  • locales/ja/plugin__forklift-console-plugin.json
  • locales/ko/plugin__forklift-console-plugin.json
  • locales/zh/plugin__forklift-console-plugin.json

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.

@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 20.43%. Comparing base (13484d0) to head (7129e34).
⚠️ Report is 1192 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2645       +/-   ##
===========================================
- Coverage   36.81%   20.43%   -16.39%     
===========================================
  Files         158     1307     +1149     
  Lines        2548    24898    +22350     
  Branches      599     4821     +4222     
===========================================
+ Hits          938     5087     +4149     
- Misses       1428    19798    +18370     
+ Partials      182       13      -169     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants