Salta la navigazione

Questo è il forum di assistenza tecnica di WPML, il plug-in multilingue di WordPress.

La sua lettura è permessa a tutti, ma la pubblicazione è riservata esclusivamente ai clienti di WPML. Il team di WPML risponde sul forum 6 giorni su 7, 22 ore su 24.

Questo ticket contiene 1 risposta, ha 2 voci.

Ultimo aggiornamento da Diego Pereira 1 anno fa.

Autore Messaggi
Novembre 24, 2023 a 11:17 am #14916277

mauriziob-3

Good morning, I'm using the Enfold template (Avia builder) and I have a javascript code inside a code block which also contains a language variable. In the advanced WPML editor I don't see the content of the code block and therefore I can't change the variable so that the language is set correctly (which therefore always remains in Italian).

Thank you

Novembre 24, 2023 a 12:15 pm #14916977

Diego Pereira
Supporter

Lingue: Inglese (English ) Spagnolo (Español ) Portoghese, Brasile (Português )

Fuso orario: America/Sao_Paulo (GMT-03:00)

Hello, welcome to the WPML support Forum!

While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.

I believe that the code block is considered non-translatable content by WPML. But we would like to do some tests to confirm this, and perhaps find a workaround.

I created a test website with a clean WordPress install. You can access it through this link: link nascosto - Through this link you will be automatically logged in.

Please upload the theme and plugin to this test install, setup it the same way as in your website (using the same options) and create some dummy content to reproduce the issue. Please note that we only need the theme/plugin and the related functionality, you don't need to setup a entire website or clone your existing site.

After that, please send us clear steps on how to see/reproduce the issue on this test install. We will run some tests.

PS: To ensure the quickest and most accurate support, please provide your debug information so that I can get a look at some of your configurations. We have an excellent article on how to located here: https://wpml.org/faq/provide-debug-information-faster-support/.

NOTE:
Please be sure to check the box to indicate you can provide debug info and paste your debug info in the debug field provided, and NOT in the general response field.

L'argomento '[Chiuso] Translate Enfold code block' è chiuso a nuove risposte.