Skip to content

fix(i18n): correct mistranslated Japanese "Current Flow" label#13904

Open
greymoth-jp wants to merge 1 commit into
langflow-ai:release-1.11.0from
greymoth-jp:fix/ja-current-flow-homograph
Open

fix(i18n): correct mistranslated Japanese "Current Flow" label#13904
greymoth-jp wants to merge 1 commit into
langflow-ai:release-1.11.0from
greymoth-jp:fix/ja-current-flow-homograph

Conversation

@greymoth-jp

@greymoth-jp greymoth-jp commented Jun 30, 2026

Copy link
Copy Markdown

The Japanese version.currentFlow string reads "電流の流れ" (the flow of electric current), but here "Current Flow" means the present flow version. It sits with the version-preview labels (version.previewing, version.readOnly, version.loadingPreview), so it labels the live flow as opposed to a historical version that is being previewed.

The same ja.json already translates this correctly elsewhere: deployments.updateDeploymentDescription renders "current flow version" as "現在のフローバージョン", and every other "Current" string uses 現在 (deployments.current, flowVersion.currentLabel, editNode.currentValue). This change brings version.currentFlow in line with those.

en: "Current Flow"
before: 電流の流れ (electric current)
after: 現在のフロー

The same homograph is present in the other locale files (zh-Hans, de, fr, es, pt) if a follow-up is wanted.

Summary by CodeRabbit

  • Bug Fixes
    • Updated the Japanese label for “current flow” to a clearer, more accurate phrase: “現在のフロー.”
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 30f0f318-2b84-46de-835e-4e43376c4766

📥 Commits

Reviewing files that changed from the base of the PR and between 227c35f and 7643ce1.

📒 Files selected for processing (1)
  • src/frontend/src/locales/ja.json

Walkthrough

The Japanese translation for version.currentFlow in ja.json is corrected from「電流の流れ」("electrical current flow") to「現在のフロー」("current flow").

Changes

Japanese Locale Fix

Layer / File(s) Summary
Translation correction
src/frontend/src/locales/ja.json
version.currentFlow translation changed from「電流の流れ」to「現在のフロー」.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minutes


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error)

Check name Status Explanation Resolution
Test Coverage For New Implementations ❌ Error No test files were added/updated for the ja.json translation fix; existing i18n tests only cover loadLanguage behavior, not the translated string. Add a regression test asserting version.currentFlow in ja.json maps to the intended Japanese text, using the project's *.test.ts[x]/__tests__ convention.
✅ Passed checks (8 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the change: a Japanese i18n label was corrected from a mistranslation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Test Quality And Coverage ✅ Passed Copy-only i18n locale change; no runtime behavior changed. Existing frontend i18n tests cover bundle loading, so no new tests were needed.
Test File Naming And Structure ✅ Passed PR only updates src/frontend/src/locales/ja.json; no test files were added or modified, so this check is N/A.
Excessive Mock Usage Warning ✅ Passed This PR only updates a Japanese locale string; no test files or mock-heavy test changes are involved, so the mock-usage warning is not applicable.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

1 participant