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 2 voices.

Last updated by Camilo 1 year, 11 months ago.

Assisted by: Christopher Amirian.

Author Posts
December 15, 2022 at 8:06 pm #12660361

Camilo

Tell us what you are trying to do?
I'm using the Gutenberg HTML Block to add some custom HTML. I'd like to translate it as single string, so that I can replace the full code.

Is there any documentation that you are following?
No, from the docs I was able to use the search feature on the Advanced Translation Editor, but it'll only finds URLs and other fragments of the script.

What is the link to your site?
hidden link

December 19, 2022 at 6:33 am #12673457

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

You can not do that with the Advanced Translation Editor.

The job of ATE is exactly to avoid showing HTML code and focus only on the content.

You will need to translate the page that contains HTML block which you want to translate the HTML itself manually:

https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Thanks.

December 19, 2022 at 3:37 pm #12678189

Camilo

Thank you for the information.