i18n objects not showing for tools #1341

Closed
opened 2026-02-21 17:32:31 -05:00 by yindo · 0 comments
Owner

Originally created by @AndyMik90 on GitHub (Mar 13, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.5.9

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

When changing the language from English to Portogues, the tools that have translations in their .yaml files are not showing the translated strings in the frontend.

For instance the Github Tool has pt_BR translated text, but it's showing english.
CleanShot 2024-03-13 at 20 22 21@2x
This is also true for other languages added, so there seems to be a logic that is not pulling the correct i18n objects.

✔️ Expected Behavior

If the tools have translations, the translated strings should show up in the frontend

Actual Behavior

Seems to use fallback english strings for some of the labels/descriptions.

Originally created by @AndyMik90 on GitHub (Mar 13, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.5.9 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce When changing the language from English to Portogues, the tools that have translations in their .yaml files are not showing the translated strings in the frontend. For instance the Github Tool has pt_BR translated text, but it's showing english. ![CleanShot 2024-03-13 at 20 22 21@2x](https://github.com/langgenius/dify/assets/119136210/f9695bbd-cc4e-4305-94ef-cda975c0c232) This is also true for other languages added, so there seems to be a logic that is not pulling the correct i18n objects. ### ✔️ Expected Behavior If the tools have translations, the translated strings should show up in the frontend ### ❌ Actual Behavior Seems to use fallback english strings for some of the labels/descriptions.
yindo added the 💪 enhancement label 2026-02-21 17:32:31 -05:00
yindo closed this issue 2026-02-21 17:32:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1341