Google translation doesn't work?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Dawn
Posts: 95
Joined: Tue May 23, 2006 2:10 pm

Google translation doesn't work?

Post by Dawn » Thu Feb 16, 2012 10:58 am

Hi,

I saw there is an option for google translation in the general options and there is a field for the API key. If I click on it, google tells me that it stopped needing such an API key. But if I don't enter one, google translate isn't active if I switch the language. How can I fix this?

I'm using 2.7.3.

Best regards,
Dawn

Thorsten
Posts: 14730
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Google translation doesn't work?

Post by Thorsten » Thu Feb 16, 2012 11:10 am

Hi,

Google Translate closed it's free service end of 2011. :-(

We're working on switching to Bing Translate.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Dawn
Posts: 95
Joined: Tue May 23, 2006 2:10 pm

Re: Google translation doesn't work?

Post by Dawn » Thu Feb 16, 2012 11:15 am

Thanks for your very fast reply.

Oh, I see.... But Bing translate is also nice. I hope it's possible to translate the entries not only on the fly but also while saving a faq entry. This would be great to create a lot more content.

Will this feature come with 2.8.x or isn't it planned atm?

Thorsten
Posts: 14730
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Google translation doesn't work?

Post by Thorsten » Thu Feb 16, 2012 11:21 am

Hi,

the switch to Bing is planned as soon as possible, maybe with 2.7.5

An automatic translation isn't on our list for 2.8 yet.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Dawn
Posts: 95
Joined: Tue May 23, 2006 2:10 pm

Re: Google translation doesn't work?

Post by Dawn » Thu Feb 16, 2012 11:35 am

Think about this, this will reduce the bandwith a lot. What would be better than autotranslating while saving, would be if the faq save the translation if anybody is using a foreign language (till the original article has changed). What do you think about this proposal:

1. Admin saves/creates faq article
2. Article is available in german
3. Visitor arives at the site and is choosing english as it's language
4. FAQ uses the Bing API to translate it and saves it to the db in the background
5. Another english visitor arives, FAQ can serve the translated content from the DB
6. Main article is changed (the german one)
7. FAQ shows a message about a not up to date translation and gives visitors the ability to click on translate
8. If anybody does this, it uses the API again and saves the latest translation into the db.

I think if you would handle it this way, it would reduce API requests dramatically and provide people a lot of additional content.

Thorsten
Posts: 14730
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Google translation doesn't work?

Post by Thorsten » Thu Feb 16, 2012 11:43 am

Hi,

nice idea... you can add a issue about this here: https://github.com/thorsten/phpMyFAQ/issues

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Dawn
Posts: 95
Joined: Tue May 23, 2006 2:10 pm

Re: Google translation doesn't work?

Post by Dawn » Thu Feb 16, 2012 1:16 pm

Nice that you like this idea. I've added it there, here is the link: https://github.com/thorsten/phpMyFAQ/issues/407

Thorsten
Posts: 14730
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Google translation doesn't work?

Post by Thorsten » Thu Feb 16, 2012 1:26 pm

Hi,

thanks.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply