-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Category name translated twice #17591
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
Comments
Hi @RomanMichak. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @RomanMichak do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@RomanMichak, thank you for your report. |
I will handle this issue. Thank you! |
We face the same issue. We have a Dutch storeview and an English one. We have two categories where this problem shows up. One called Bestsellers and one called Sale. In Dutch, we also want to call them that. But Magento won't let us, because the translation file kicks in, and it auto-translates these two to "Meest verkochte producten" which is a horribly long category name and Sale becomes "Verkoop" which is a literal translation which doesn't actually give the context of the Sale period. Even if we switch to the Dutch storeview in Admin > Catalog > Categories, select this Category, then untick the default name and then re-save our intended title of said category, the translation still happens. It would make sense to me that if left on Default, the translation kicks in. If Default is unticked and we deliberately set the name for these categories, the translation file ignores this. That could be one solution to this problem. |
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
You can enable / disable title translations in theme configuration:
|
Looks like a duplicate of #7065 |
@RomanMichak I'm closing this issue since it can be fixed using configuration |
Hi @RomanMichak. Thank you for your report and collaboration! The related internal Jira ticket The fix will be available with the upcoming |
Category title which has translations for every store, translated one more time from I18n files on category view page. So in situation when we have similar words in different language it could be translated twice.
Example:
So category "Moped" on store nn_NO displayed as "Sparkesykkel" on category view page. Because it alredy tranlsated in admin as "Scooter" and then tranlsated one more time via I18n files to "Sparkesykkel". It shouldn't search for translation if used already translated value from admin.
Preconditions
Magento 2.4-develop
PHP 7.1.18
MySQL 5.7.22
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: