Skip Navigation

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 2 replies, has 1 voice.

Last updated by remil-4 3 weeks, 1 day ago.

Author Posts
May 22, 2025 at 2:02 am #17059360

remil-4

Background of the issue:
I am trying to implement different scripts for French and English on my website hidden link for reservations on ke-booking.com. The script URLs differ only by the language code, 'fr' for French and 'en' for English. Example scripts: In French: <script src="hidden link In English: <script src="hidden link

Symptoms:
If I change the script directly on the second language, I might break the website.

Questions:
How can I implement different scripts for French and English without breaking the website?

May 22, 2025 at 3:15 am #17059401

remil-4

What is the best way

May 22, 2025 at 6:42 am #17059635

Bruno Kos
WPML Supporter since 12/2018

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

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

Hi,

Did you consider this?
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/#how-to-use-manual-translation

This will allow you to add different code into translations.

May 25, 2025 at 2:10 am #17069383

remil-4

Dear Bruno Kos, this is the perfect trick to resolve my issue. 5 stars to Bruno Kos. *****