• Hello love the classic editor.
    I have a website that can be translated with gtranslate. I also added it as an extra metabox in the post edit screen with the gtranslate selection box in it.
    In this way, the complete post edit screen is translated automatically in the desired language. Perfect! But,
    The text entered in the WYSIWYG editor (visual screen) gets translated automatically. So I am a French user, enter an English text. Save Draft and, voila, my text is translated into French.
    That last part can be avoided by adding a class=”notranslate” to the area of id=”tinymce”.

    Is there a way to insert a code for this in functions.php? I have no clue at this moment and it would fix the entire problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • When you type anything into the WYSIWYG editor (visible screen), it instantly converts into the quordle target language. I am a French speaker; please input your content in English. By just clicking “Save Draft,” my English content has been converted to French.

    Hi @samosarave

    The text entered in the WYSIWYG editor (visual screen) gets translated automatically.

    The plugin you are using is the one translating the content in the editor, I am not too familiar with the plugin’s code so I would suggest reaching out to the developers.

    They can advise how best you can leave out the content inside the editor from being translated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notranslate class on inserted text in id tinymce’ is closed to new replies.