[PR #32342] fix(i18n): fix critical errors and overhaul Persian (fa-IR) translations in workflow.json #33686

Closed
opened 2026-02-21 20:53:43 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/32342

State: closed
Merged: Yes


Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.
    Fixes [PR #29251] chore(deps): bump types-gevent from 24.11.0.20250401 to 25.9.0.20251102 in /api (#32343)

Summary

This PR significantly improves the Persian (fa-IR) translation of workflow.json by fixing critical machine-translation errors and standardizing technical terminology.

Fixed critical errors:

  • nodes.common.retry.ms: "خانم" (Lady) → Corrected to "میلی‌ثانیه" (milliseconds).
  • common.redo: "پیشرفت" (Progress) → Corrected to "تلاش مجدد" (Redo).
  • blocks.trigger-webhook: "وبهوک" → Standardized to "وب‌هوک".
  • Human Input Node descriptions made more natural and accurate.

Improvements:

  • Consistent technical terminology (LLM, Webhook, JSON Schema, etc.)
  • Better grammar and punctuation following Persian Language Academy standards.
  • More natural and fluent phrasing.
  • Verification: I have iteratively tested and fixed placeholder/tag mismatches (e.g., <email> tags and {{}} variables) to pass CI requirements.

Screenshots

Before (Sample) After (Sample)
"ms": "خانم" "ms": "میلی‌ثانیه"
"redo": "پیشرفت" "redo": "تلاش مجدد"

Checklist

  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos/i18n fixes!)
  • I've added a test for each change that was introduced (Manual verification of JSON structure and placeholders).
  • I've updated the documentation accordingly (Not applicable for translation fixes).
  • I ran make lint and make type-check (backend) and cd web && npx lint-staged (frontend) to appease the lint gods.
**Original Pull Request:** https://github.com/langgenius/dify/pull/32342 **State:** closed **Merged:** Yes --- > [!IMPORTANT] > > 1. Make sure you have read our [contribution guidelines](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) > 1. Ensure there is an associated issue and you have been assigned to it > 1. Use the correct syntax to link this PR: `Fixes #<issue number>`. Fixes #32343 ## Summary This PR significantly improves the Persian (fa-IR) translation of `workflow.json` by fixing critical machine-translation errors and standardizing technical terminology. **Fixed critical errors:** - `nodes.common.retry.ms`: "خانم" (Lady) → Corrected to "میلی‌ثانیه" (milliseconds). - `common.redo`: "پیشرفت" (Progress) → Corrected to "تلاش مجدد" (Redo). - `blocks.trigger-webhook`: "وبهوک" → Standardized to "وب‌هوک". - Human Input Node descriptions made more natural and accurate. **Improvements:** - Consistent technical terminology (LLM, Webhook, JSON Schema, etc.) - Better grammar and punctuation following Persian Language Academy standards. - More natural and fluent phrasing. - **Verification:** I have iteratively tested and fixed placeholder/tag mismatches (e.g., `<email>` tags and `{{}}` variables) to pass CI requirements. ## Screenshots | Before (Sample) | After (Sample) | |--------|-------| | `"ms": "خانم"` | `"ms": "میلی‌ثانیه"` | | `"redo": "پیشرفت"` | `"redo": "تلاش مجدد"` | ## Checklist - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos/i18n fixes!) - [x] I've added a test for each change that was introduced (Manual verification of JSON structure and placeholders). - [x] I've updated the documentation accordingly (Not applicable for translation fixes). - [x] I ran `make lint` and `make type-check` (backend) and `cd web && npx lint-staged` (frontend) to appease the lint gods.
yindo added the pull-request label 2026-02-21 20:53:43 -05:00
yindo closed this issue 2026-02-21 20:53:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#33686