Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is using the Oxygen Builder plugin with WPML to build a website and is encountering issues with special characters in French translations. The characters appear correctly in the WPML Translation Editor, but not on the live site. This issue is only present on pages, not posts.

Solution:
We acknowledge that Oxygen Builder is not fully compatible with WPML at the moment. We are working with the Oxygen team to improve this. There is a known issue with non-Latin characters being encoded in translations, which might be related to the client's problem. We recommend checking with the Oxygen team if they are aware of this specific issue and if it will be resolved in the upcoming Oxygen 4.7 update. In the meantime, the client has found potential workarounds using code blocks provided by a third party:

  • First gist: Uses the same template for translations and conditionally displays the correct language using string translations.
  • Second gist: Offers similar functionality to the first gist but applies it globally.

Please note that these workarounds are not official solutions from the Oxygen team, and they may not be suitable for all users. If the solution provided here is not relevant to your case, either because it's outdated or not applicable, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you continue to experience issues, please open a new support ticket with us.

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.

This topic contains 3 replies, has 2 voices.

Last updated by Bruno Kos 1 year, 4 months ago.

Assisted by: Bruno Kos.

Author Posts
February 12, 2024 at 10:57 pm #15295128

andresS-27

Hi there,

I am using the Oxygen builder plugin along with the WPML translation plugin to build a website.

I am able to use the WPML Translation Editor to translate the text from English to French, however I am running into an issue with the special characters that exist within the French language. Eg. réseau, à

When I use the translation editor, the French text looks fine, but when I save and view it on the site, it doesn't seem to convert the special characters appropriately.

I double checked that the site is using utf-8, which should be able to handle the French characters.

This bug seems to be happening only with pages as posts work fine.

Could you help me figure out why the text isn't translating fully?

Thank you

translation-editor-for-french.png
french-translations-output.png
February 13, 2024 at 8:23 am #15295858

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support!

https://wpml.org/documentation/plugins-compatibility/oxygen-visual-builder/

Please note that Oxygen Builder is currently not fully compatible with WPML. We are in contact with their team and trying to establish full multilingual functionality.
hidden link

That being said, in our internal development ticket I see this was reported:

- Non-Latin characters are encoded in translations

This was reported by their team and was mentioned that it may be resolved in Oxygen 4.7, however in hidden link I see no mention of it.

It may be related to your issue - can you check with their team if they are aware of such problem and get back to us here on what they said?

Regards,
Bruno Kos

February 15, 2024 at 7:18 pm #15309215

andresS-27

So I was able to get in contact with the Oxygen support team, and while there is no official integration planned, they did provide some code blocks that potentially offers a work around for the issue I've been experiencing.

1. hidden link. This gist uses the same template for the translations and conditionally displays the appropriate language translations using string translations.

2. hidden link. This gist seems to be offer a similar functionality as the above gist, but does so globally.

Even though these work arounds aren't from the Oxygen team, hopefully it can be a temporary solution.

Thank you!

February 16, 2024 at 7:24 am #15310188

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I understand. Hopefully, these snippets will be suitable for your situation as well, and ideally, a more permanent solution can be decided upon by them, as it's not within our authority to enforce it.