URGENT: WP woocommerce gtranslate enterprise

Popular automatic website translation tool

URGENT: WP woocommerce gtranslate enterprise

Postby kalbynet » Mon Mar 24, 2014 1:05 pm

Hi,

I'm using GTranslate Enterprise for a customer with WordPress and with following plugins. The problem is that when the pages goes trough GTranslate servers the error comes, that you can't checkout in the shop.
The shop is using several languages and currencies and the the site is running on it's original language that is Swedish there's no problem.

Then trying to buy in Euros and using English version the error comes like this:
%{"result":"success","redirect":"http:\/\/xtreme365.se\/till-kassan\/betala\/?key=order_5326a60040676&order=19720"}

And then changing the header in the wp-admin/admin-ajax.php to application/json the DIBS module stops working. Anyone who knows an solution of this?

Plugins (all plugins are updated):
Capability Manager Enhanced
Cookies for Comments
Facebook
FBF - Facebook Page Feed Widget
Google AdWords Remarketing
Google XML Sitemaps
GTranslate
Limit Login Attempts
Use Google Libraries
WooCommerce
WooCommerce Currency Switcher
WooCommerce DIBS FlexWin Gateway
WooCommerce Product CSV Import Suite
Wordfence Security
WP Smush.it
kalbynet
 
Posts: 9
Joined: Wed Jan 29, 2014 10:55 am

Re: URGENT: WP woocommerce gtranslate enterprise

Postby Edvard » Mon Mar 24, 2014 8:12 pm

Hi,

Can you please write how you have modified the header and I'll help you?

There can be another solution. If you can remove <!--WC_START--> and <!--WC_END--> comments out of the response our system will detect the json format and it will be fine. But since there are comments it is not actually json and our system tries to translate it which is wrong. So to summarize:

1. Set Content-Type header to application/json when your response is in json format
2. Remove HTML comments, so our system will detect json format automatically

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: URGENT: WP woocommerce gtranslate enterprise

Postby kalbynet » Mon Mar 24, 2014 11:57 pm

Hi,

Where do I do these changes? in Woocommerce?

I got this from you:
1:01 AM on Mar 22, 2014
Yana updated your ticket:

Hi,
You will need to change the content type of the response to application/json
http://en.xtreme365.se/wp-admin/admin-a ... e-checkout
Regards,
Yana - GTranslate Support Team

So I went to that file from ftp and changed it.
kalbynet
 
Posts: 9
Joined: Wed Jan 29, 2014 10:55 am

Re: URGENT: WP woocommerce gtranslate enterprise

Postby Edvard » Tue Mar 25, 2014 10:55 am

Hi,

If you can provide ftp access we will change it for you.

You can send the info using our contact form on our home page.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: URGENT: WP woocommerce gtranslate enterprise

Postby kalbynet » Tue Mar 25, 2014 10:59 am

Hi,

I will give you that, but you need to give us information about the changes. Because of any new upgrades..
Look at your mail in 10 minutes.
kalbynet
 
Posts: 9
Joined: Wed Jan 29, 2014 10:55 am

Re: URGENT: WP woocommerce gtranslate enterprise

Postby Edvard » Tue Mar 25, 2014 11:00 am

OK, please undo the changes you have made.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: URGENT: WP woocommerce gtranslate enterprise

Postby kalbynet » Tue Mar 25, 2014 11:26 am

Yeep, these are already undoed.
kalbynet
 
Posts: 9
Joined: Wed Jan 29, 2014 10:55 am

Re: URGENT: WP woocommerce gtranslate enterprise

Postby Edvard » Tue Mar 25, 2014 12:26 pm

Hi,

It is fixed. I have modified /wp-content/plugins/woocommerce/classes/class-wc-checkout.php file and removed the WC_START and END HTML comments and now it is OK.

Let me know.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: URGENT: WP woocommerce gtranslate enterprise

Postby kalbynet » Tue Mar 25, 2014 1:22 pm

in what row did you do the changes?

Thanx for the help!
kalbynet
 
Posts: 9
Joined: Wed Jan 29, 2014 10:55 am

Re: URGENT: WP woocommerce gtranslate enterprise

Postby Edvard » Tue Mar 25, 2014 1:33 pm

Search for gtranslate comments.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux