Translation Live Search on AMP

Posted in: Newspaper
Post count: 70

In a post configured for AMP, the live search button appears in English “Search” and when I do the search the phrases “Here are the results for the search” and “View All Results” also appear in English. Where can I translate into Portuguese, because in the settings of the theme in “Translation” everything is already translated into Portuguese.

Example 1: https://www.screencast.com/t/L5ICxzscW
Example 2: https://www.screencast.com/t/oaMT6K5Q

Now when the page is not AMP for mobile, this part of the search appears in Portuguese normally. “Buscar” and “Ver todos os resultados”.

Example 1: https://www.screencast.com/t/oaMT6K5Q
Example 2: https://www.screencast.com/t/L5ICxzscW

Post count: 70

in the “Mobile Theme” part of “YOUR CUSTOM JAVASCRIPT”, I don’t know why my code is not running on the theme

because to be able to translate, my code in that part would have to work

see in the image: https://www.screencast.com/t/PsSqe1hO

Post count: 18283

Hello !

My suggestion is to try to delete and re-type the text in the Theme panel – Translations. This may be a small issue and all you have to do is to reconfigure that part of the translations.

Thank you !

Post count: 70

Hello,

The issue is when I go to AMP version of mobile theme. The custom code and/or translation is not working in AMP version specifically.

In example when we go to the normal mobile page, search, the input text in portuguese brazilian: Buscar
https://mobilidaderio.com.br/category/ciclismo/

And when we go to AMP version, then the text in search input will be: Search…
https://mobilidaderio.com.br/category/ciclismo/?amp

Is there a way to customize the translation in AMP version?

Thanks in advance!

Best regards,

Post count: 18283

Hello !

We need to take a look and see what can be done there to see if a fix can be done.

Please contact us via email at contact@tagdiv.com and provide the following:

– admin url and credentials
– A link to this topic in order to identify you

Our team will take a look !

Please note that at the moment the Support team is not 24/7 available. We answer the topics from Latest to Newest Monday – Friday from 08:00AM to 05:00PM GMT+2

Thank you !

Post count: 494

Hi,

I have the same problem.
Did you find a solution?

Thanks

Post count: 27744

Hello @meri,

If you referring to this element => https://www.screencast.com/t/akPhaymkn2 then you need to change the translation in this path
wp-content/plugins/td-composer/mobile/header-amp.php => https://www.screencast.com/t/CyFK9mFUh2 => https://www.screencast.com/t/CqPmMNkn0RPF

Hope this helps you!

Thank you!

Post count: 494

Thanks a lot @Anamaria !!!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.