Closed (fixed)
Project:
Ubercart Conditional Payment
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2009 at 17:14 UTC
Updated:
26 Mar 2010 at 13:20 UTC
As far I see there is not multilingual support on this module.
I set up conditions by country on CA. When the payment methods pane refresh, it doesnt keep my choosen languange and appears on english.
Thanks in advance.
Comments
Comment #1
jonhattanthis module loads via ajax the url
Drupal.settings.basePath + 'cart/checkout/payment_methods'.If you are using "Path prefix only." in the multilingual configuration, you loose the language. "Path prefix with language fallback." can help you but is not a 100% accurate solution.
A better solution would be to handle the language portion of the url in some way.
Comment #2
bdsupport commentedsame question.
Comment #3
xacobeI set up "Path prefix with language fallback" and now when payment methods refresh it get the language from the browser (as should be), this is a sligth better than before, but still you can see some extrange situations. Example: You are in Spain and your browser is set to "spanish language", but you got an english account, then you will get the payment methods in spanish and the rest in english.
As well I need to set up a prefix for english -en- to avoid this issues:
- http://drupal.org/node/146084
- http://drupal.org/node/504134
- http://drupal.org/node/648718
Comment #4
longwaveShould be fixed in CVS, thanks for the report. The AJAX URL is now constructed using url() and sent as a JavaScript setting.