Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › GTranslate Plugin & ASP Compatibility
- This topic has 13 replies, 2 voices, and was last updated 5 years, 8 months ago by
Ernest Marcinko.
-
AuthorPosts
-
August 25, 2020 at 5:35 am #29082
Alex Meda
ParticipantHi,
I recently installed the plugin called “GTranslate” in order to translate my website and unfortunately I’ve been dealing with an issue linked to ASP contents. it doesn’t translate ASP results contents at all, I mean the text. Please Take a Look
I displayed some custom fields data such as:
Price
Category
Location etc, I want all of them to be translated, unless these 2 plugins are not compatible yet. Can you please help?August 25, 2020 at 9:57 am #29087Ernest Marcinko
KeymasterHi,
Currently only Polylang and WPML plugins are officially supported. We could not find an API for Gtranslate plugin, and without that we cannot do an integration unfortunately.
August 25, 2020 at 5:10 pm #29100Alex Meda
ParticipantOooh that’s unfortunate however, I have to tell you that added another language, “Spanish” and it seems to work perfectly. Please take a look at the screenshot below.
My conclusion is that maybe it doesn’t support the French translation ?August 26, 2020 at 9:28 am #29117Ernest Marcinko
KeymasterHi,
The problem is more likely how gTranslate works – it translates the page on-the-fly, and not on the server side (or it does not seem like that). The plugin is inserting/removing/changing nodes whenever the results are printed to the page, by sending requests to the google translate servers. The translate plugin may have event listeners set to some node changes or perhaps the ajax handler – but may not be able to translate/cacth everything for translation.
If there was a javascript API of some sort available, we could somehow tell the other plugin which texts to translate on which events, but without that this is not possible.August 27, 2020 at 5:38 am #29148Alex Meda
ParticipantHi 🙂
By the way, I hope you had some sweet vacations. I knew so because last week when I was about to open a ticket, I’ve been notified that you were on vacation 🙂Now, coming back to our topic, I am not sure if I understand the last part of your message. You know, the “JavaScript API ” part. Is there any specific information that you wish I could get from GTranslate team for you to make it work? Or…
August 27, 2020 at 9:15 am #29151Ernest Marcinko
KeymasterThank you very much, we had a great time 🙂
Well, sort of, but I’m not sure if I can explain correctly. Basically, I am looking for a way to tell the gTranslate plugin to translate a string, that I can specify. Usually there is either a function of some sort – in this case probably a javascript method, or event or something like that – which we could use to translate the desired section.
August 30, 2020 at 12:51 am #29177Alex Meda
ParticipantYou cannot access this content.
August 30, 2020 at 3:12 pm #29180Ernest Marcinko
KeymasterGreat, that looks perfect.
August 30, 2020 at 5:46 pm #29183Alex Meda
ParticipantYeah “results count display info” has been successfully handled but we’re still working on the mayor issue which is the translation of the results contents. You know some information about the post custom fields data like: “The title, the category, the location..”
August 31, 2020 at 12:58 pm #29202Ernest Marcinko
KeymasterI understand, but if there is no API or anything I can start with, I can’t tell how to force translating that. Maybe their support can suggest anything?
September 2, 2020 at 4:37 am #29213Alex Meda
ParticipantI already forwarded your message to them and they say that they will keep me updated.
So I’ll get back to you as soon as possible. ThanksSeptember 2, 2020 at 9:34 am #29218Ernest Marcinko
KeymasterOkay, let me know.
September 9, 2020 at 5:58 pm #29286Alex Meda
ParticipantYou cannot access this content.
September 10, 2020 at 1:02 pm #29296Ernest Marcinko
KeymasterThat is great, I hope they can deal with it.
-
AuthorPosts
- You must be logged in to reply to this topic.