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

Enchance the translation word's order #2121

Open
MDylan opened this issue Feb 1, 2023 · 1 comment
Open

Enchance the translation word's order #2121

MDylan opened this issue Feb 1, 2023 · 1 comment
Labels
type: enhancement New feature or request

Comments

@MDylan
Copy link

MDylan commented Feb 1, 2023

Summary

I have just try to translate Twill to Hungarian language, and in some cases the translation keys in the vue file are not in the correct order. So the word's order are "hard coded".

Example:
BrowserField.vue

return this.$trans('fields.browser.add-label', 'Add') + ' ' + this.itemLabel

Example I have a "Product" model, that I want to add with Browser field.
In this case in Hungarian the "Product" means "Termék"
In English the "Add Product" words are in correct order, but if I translate it to Hungarian "Hozzádás Termék" is not correct, because the correct translation has to be: "Termék Hozzáadás".

image

There are other places too, where translation words are in fix order, and can't find solution to overwrite the text.

MediaLibrary example

Browser modal example

@MDylan
Copy link
Author

MDylan commented Mar 23, 2023

  • info:
    Missing translations:
    "Source code" string hard coded here
    and here

The v2 and v3 also affected

@ifox ifox added the type: enhancement New feature or request label Feb 10, 2024
@ifox ifox moved this to Beyond in Twill roadmap Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
Status: Beyond
Development

No branches or pull requests

2 participants