I am in the process of building up Ubercart for Japan (payment modules[GMO-PG, C.O.D., Bank Transfer], shipping modules, and general translations and localization.
I want to first make sure I am not overlooking an option in the core code set.
In Japan, and other Asian countries, we need to have the address order different for input fields. Now for printing of orders, I see that this is no problem. The problem I see is there is no way to change the address order of things for input in the checkout stages.
The quick fix for me is to override the uc_checkout_pande_delivery function. I just want to make sure this is right?
I see that in the code the pane itself has a weight option, but the fields do not.
A wish would be to have the field order to be set by language, and have them adjustable by using weight.
Does anyone off the top of their head know how to make a case that detects the language?
Example
case 1 would order it the stock way for western formats.
case 2 would detect that the current language is in Japanese and order it for Japanese format.
If anyone has a quick answer, please let me know, as it would help a lot.
Regards,
Shaun
