GTranslate not working on Ajax request data & ga.xxx error
May 21, 2015 9:00 am by lucysadler
May 21, 2015 9:00 am by lucysadler
We have two questions:
1. The GTranslate is not working on Ajax request data.
We have a page where some data is static and some of the data will load from ajax after the static page has loaded.
I can see that the static data on page is successfully traslated by Gtranslate, but the data which comes from ajax request after the page loading is not translating
How can we get the ajax request data to translate.
I will send you the url by email.
2. The translated url ga.xxxxxx is coming up as an error on our site, however we do not want ga to be translated. The module we have to set up gtranslate doesn't seem to change anything. You set up the flags for us. Could you stop this error with ga.xxx?
Thanks.
Re: GTranslate not working on Ajax request data & ga.xxx err
May 21, 2015 11:04 am by Yana
May 21, 2015 11:04 am by Yana
Hi,
1. The ajax request should go to the URL with the language code. Also you need to make sure that the ajax response is in HTML format. In this case the posts it will be translated. If the response is in JSON format, it will not be translated.
2. Please make sure that you created DNS CNAME record for Irish language (ga) .
SIMILAR TOPICS
Gtranslate Multisite | Feb 12, 2019 7:27 am | Replies: 1 | Post by: infact_dat |
Gtranslate: Error with number | Feb 20, 2019 1:20 am | Replies: 1 | Post by: infact_dat |
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not defined | Feb 22, 2019 12:34 pm | Replies: 1 | Post by: oase |
Error message and URL problems | Feb 6, 2019 11:16 am | Replies: 1 | Post by: Kidbooo |
Add-on gtranslate no longer works | Feb 2, 2019 6:01 am | Replies: 1 | Post by: DarylDixon |