AbanteCart Development > Languages and Zones
Google translate API2 problem
Atome2088:
Hello,
I want to tell you that AbanteCart Cart is really great (and I tried almost every e-commerce solution!).
I have an issue with installing the Google Translate Extension.
I think I did everything right (paying 39$ for this extension, registering with code.google.com and getting a key, configuring in AbanteCart Cart,...)
but I only get the same error message when I try to translate a text from english to french for instance.
As I think one picture is better than 1000 words, check the captures I attached.
Can you help me please?
abantecart:
I use this extension a lot.
Your set up looks correct.
Check your error log right after you get an error and post last message you get.
This will help identify an issue.
Atome2088:
Hello,
When I try to translate from english to french, here is the one and only error log that I get:
2014-01-22 13:50:53 - database error: AbanteCart core v.1.1.7 Error: Duplicate entry '0-english-10-text_sorting_date_asc' for key 'lang_definition_index'<br />Error No: 1062<br />INSERT INTO ab_language_definitions(language_definition_id,language_id,section,block,language_key,language_value,update_date,create_date) VALUES ('','10','0','english','text_sorting_date_asc','Date Old > New','2014-01-12 02:55:17','2014-01-12 02:55:17') in <b>/home/erikw541/public_html/ACH/achats/core/database/mysql.php</b> on line <b>112</b>
And I get the window saying:
There has been an error processing your request
Please check error log for more info. You can check error log in the control panel if it is functional. Otherwise, refer to error log located in your web server
Go to main page
I hope it will help you help me ;-)
Thank you in advance,
Erik
abantecart:
Are you sure, you do not try to translate English to English? It looks like it does exactly that.
Please check and make sure that you go to french language and select source for English.
If you still get the same error, try one more thing. Change your default language setting to English and use English language for content and admin. Try again.
Please update what happens. Once I get the steps I will be able to investigate and fix if needed.
Atome2088:
Hello,
I tried all that you said but wasn't able to fix it.
Now I am despered and I decided to reinstall everything from the beginning (AbanteCart and Google Translate).
I did configure it like we said without adding french.
When I try to add a product (with english language everywhere) in english, I cannot save it and it sends me the error log:
2014-01-24 17:40:17 - load error: AbanteCart core v.1.1.7 Error: Could not load translations class /home/erikw541/public_html/ACH/showroom/extensions/google_translate/core/translator.php! in <b>/home/erikw541/public_html/ACH/showroom/core/lib/language_manager.php</b> on line <b>746</b>
But when I add a new product on the Spanish, I am able to save it.
Another warning appeared, it says:
Language definition "google_translate_note" is missing for "English"
I don't know if there is any link between those two errors.
Thank you for your help...
Erik
Navigation
[0] Message Index
[#] Next page
Go to full version