Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Edit Info" does not display correctly with german language settings #4235

Closed
4 tasks done
dancohen81 opened this issue May 9, 2024 · 1 comment · Fixed by #4270
Closed
4 tasks done

"Edit Info" does not display correctly with german language settings #4235

dancohen81 opened this issue May 9, 2024 · 1 comment · Fixed by #4270
Labels
🐞 bug Something isn't working

Comments

@dancohen81
Copy link

Self Checks

  • This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • 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.6.7

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Set language to German
  2. Choose or make something
  3. Click on the avatar top left
  4. In German Edit Info is displayed as: key 'app.editApp (de-DE)' returned an object instead of string.

I tested portuguese and france. They work.

✔️ Expected Behavior

The menu should display: Edit Info

❌ Actual Behavior

The menu displays: key 'app.editApp (de-DE)' returned an object instead of string.

Copy link

dosubot bot commented May 9, 2024

The issue you're encountering with the "Edit Info" display showing "key 'app.editApp (de-DE)' returned an object instead of string" when setting the language to German is likely due to a misconfiguration in the German language file for the app.editApp key. This key is expected to return a simple string but is instead set up to return an object, which the application cannot properly display.

To fix this, the German language file needs to be checked, and the app.editApp key should be corrected to ensure it returns a simple string value. This involves adjusting the structure of the translation file or updating the key-value pair to match the expected format. This correction will resolve the display issue and ensure the "Edit Info" text is shown correctly in German.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@dosubot dosubot bot added the 🐞 bug Something isn't working label May 9, 2024
@YidaHu YidaHu mentioned this issue May 10, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant