ResolvedCategory button translation
Tagged: translation
- This topic has 8 replies, 2 voices, and was last updated 9 months, 1 week ago by
ADP.
- AuthorPosts
- August 3, 2022 at 4:14 pm #34590
ADP
ParticipantHello,
A small bug which I noticed today regarding translations: in the same category page I have the “Select options” button of one product untranslated because the string is located in the Lafka Plugin and the other one is translated because it’s based in the WooCommerce plugin. See inclosed screenshots:
https://prnt.sc/HM5EPk4qpZUP
https://prnt.sc/fukGEZceXMZs
https://prnt.sc/uAycMuA1jv_rBest regards!
August 4, 2022 at 10:47 am #34596Althemist
KeymasterHi ADP,
You’d just need to translate the string in the plugin too.
August 18, 2022 at 11:54 pm #34737ADP
ParticipantHi!
I find this situation very peculiar. Was it necessary to have the same string in 2 files? Oh, I found in another category page the same string untranslated after I’ve translated it in the first 2 locations. (ex: https://fastfoodsinaia.ro/c/pizza/ or https://prnt.sc/K9p2JiBxWgvK ). So, let me know please all the files that contains the string “Select options”. Maybe you want to fix this in a future update.
Regards!
August 19, 2022 at 1:45 pm #34738Althemist
KeymasterHi ADP,
I understand it may look weird, but there is a solid reason behind this.
The string comes from 3 different locations. The first and most obvious is the WooCommerce plugin. It will be automatically translated when you switch your WordPress installation to a language different than English.
The same string can also be found in the theme and the theme plugin (Lafka plugin). You’d need to translate theme manually.
We know it’s not optimal, but it’s because of the strict performance and security rules of ThemeForest for themes and plugins.
August 19, 2022 at 9:38 pm #34745ADP
ParticipantI understand. The theme doesn’t contains the string. Screenshot: https://prnt.sc/BryjKIgi00Fe
So, what’s the 3rd location, please?
August 23, 2022 at 10:16 am #34748Althemist
KeymasterMy mistake, sorry. It’s only in the plugin. The theme is using the WooCommerce string.
August 23, 2022 at 10:09 pm #34763ADP
ParticipantHi!
The issue is not solved then. The questions remains. Please.
August 24, 2022 at 10:56 am #34767Althemist
KeymasterHi ADP,
I can see your products have additional class “wcpa_has_options” which is not part of the theme. Do you have a third-party product addons plugin?
August 25, 2022 at 9:56 pm #34799ADP
ParticipantHi!
Yes, it’s “WooCommerce Custom Product Addons”. You hit it with great accuracy. This plugin is the problem. After disabling it, the string is now translated everywhere. I guess I’m in your debt. Thank you for your great support, I’ll be more careful in the future with the tickets!
Best regards!
- AuthorPosts
You must be logged in and have valid license to reply to this topic.