Home›Support›English Support›[Waiting for user feedback] String Translation of Barn2 "Product Option" plugin. Specificly the VISUAL EDITOR
[Waiting for user feedback] String Translation of Barn2 "Product Option" plugin. Specificly the VISUAL EDITOR
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Background of the issue:
I am trying to translate all the string translations for the different text fields in the Barn2 Product Option plugin. They all work great as translated on the front end, but not the VISUAL EDITOR text field. Translated correctly at the back end but on the front end just the original language (English) is published. Link to a page where the issue can be seen: hidden link
Symptoms:
The text from the VISUAL EDITOR is displayed in English on the front end instead of French or German.
Questions:
Why is the VISUAL EDITOR text field not displaying the translated text on the front end?
How can I ensure the VISUAL EDITOR text field is translated correctly on the front end?
Had a chat with technitian at Barn2 last week and they say you supoport 100% translation of all their plugins. They therefore asked us to open a ticket with yourself.
Tried to replicate the issue on your Sandbox page. But unfortunately I do not see the WPML entry on the left hand side menu. I do however see WPML is installed among the plugins. Where do I go to make the String Translation in your Sandbox setup when I do not see the WPML entry in the left hand bar please?
But the problem is not primarely the text entered in the visual editor of the Barn2 plugin. The text from the Product Option plugin is visible at the correct location at our site and in the original language. The problem is on our TRANSLATED pages. There wu expect the text to show in the new language but htey show only in the original language.
For example. The text from the visual editor is correct at an ENGLISH page.
The same text is expected to be in FRENCH or GERMAN at the french and german pages but the text from the visual editor is still in ENGLISH at the French and German pages. All other text fields are showing correctly at the respective language pages. The issue is just from the visual editors text fierd that does not get translated. So to be able to replicate the problem at your Sandbox page we really do need the WPML plugin so you can see if the text will be translated or not at the "non english" pages.
Furthermore: Now I activated the WPML-plugins. Unfortunately the text entered in the visual editor does not even show up in the String Translatin on your Sandbox page. This is however not the case at our live page. Please activate the translation functionalities at the Sandbox page and I will try to replicate the problem.
WPML is set up on the sandbox already. I just deactivated it earlier to show you that there is a issue displaying the product options even if WPML is disabled.
In this case you would not use WPML String Translation to translate the strings.
Custom fields that are part of pages, posts or custom posts like products will need to get translated with the WPML Translation Editor when translating the content.
The issue I am still facing on my test site, is that the product options that I have created are not appearing on the WordPress Editor when trying to create or edit a product.
On your site, please try to create a new product options group for testing and let me know if it is available when creating or editing a product. If not, then there seems to be an issue on the side of "WooCommerce Product Options".