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 1 reply, has 2 voices.

Last updated by Mihai Apetrei 8 months ago.

Assigned support staff: Mihai Apetrei.

Author Posts
February 15, 2019 at 2:39 am #3202432

phu-my-hungC

I am trying to registry new string translation but i don't know to do this

Example: i write a custom code html

<div class="desktop-hotline">
<div class="hotline"><a href="tel:+84912595519" style="color: #fff"><i class="Simple-Line-Icons-call-in"> Hotline: 0912 9999 9999</a></div>
<div class="nhanbantin"><a href="hidden link" style="color: #fff">✉ Register to receive information</a></div>
</div>

i want to translate: Hotline: 0912 9999 9999 and Register to receive information.

How to do it

Thanks

February 15, 2019 at 7:33 am #3203106

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for contacting WPML Support!

I will be happy to help you with this.

Please take a look over the tickets below and that should give you an idea of what you need to do:
- https://wpml.org/forums/topic/translate-custom-html/
- https://wpml.org/forums/topic/add-a-custom-string-for-my-custom-html-title-and-slogan/
- https://wpml.org/forums/topic/translating-hard-coded-strings-in-a-html/

Please let me know if this solved your issue or if you still need help.

I will be waiting for your response.

Kind regards,
Mihai Apetrei