Hi All,
Hope to get some help here for the drupal.org/project/uc_i18n module.
Goal of this module is to make Ubercart more multilangual, which is almost working.
Idea of the module so far is to make all translatable and store only the default language in the DB.
At the point of saving the order in the DB, the attributes of an order are changed with an hook_order 'presave' and 'save' to change them in the default language. This works perfectly. Loading the orders from the DB also shows them nicely in overviews and order pages.
Only thing that does not work is the order edit page. Whenever I edit and order and save the attributes will show up as ''.
Any thoughts on preventing this?
Many thanks
Mark
Comments
Comment #1
longwaveNo idea, really. As you must be using at least some custom code to handle this it would be helpful if you posted the code in question, or pointed to where in uc_order you think there is an issue.
It would also be nice to merge your work straight into Ubercart core, I'm happy to review individual patches that improve i18n support.
Comment #2
splash112 commentedHi Longwave,
Many thanks for your offer to help!
The project can be found here:
http://drupal.org/project/uc_i18n
Issue about this problem here:
#1461128: uc_i18n breaks order editting
Not sure if we would need core changes for now. Came quite far with a contrib module. Just now I seem to be stuck.
Thanks
Mark
Comment #3
tr commentedNo further information provided. If you can supply patches to improve i18n handling in core Ubercart, please open a new issue.
Comment #4
splash112 commentedhahahahahahahaha