Ubercart's support for translation nodes is severely lacking. This patch is (afaict) a full implementation of the translation stuff for Ubercart.

Requires this patch http://drupal.org/node/488422 because I couldn't reconcile adding (horrible) db_query() calls, or faking a form to access the API through a submit handler...

When I say full implementation, I mean

  1. Attributes/Adjustments
  2. Product features (in core - files & roles)
  3. Stock
  4. Google Checkout
  5. Quote
  6. UPS
  7. USPS
  8. Weight Quote

Thanks. :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

depcam’s picture

subscribe

Docc’s picture

subscribe

marcoBauli’s picture

Howdy, does all this mean that product attributes and options will be translatable?? I've been struggling with this since almost 2 hours now without joy..

@cha0s: is there a chance the full patched uc_attribute.module and/or others can be posted here? These patches plus those in the other required post are not really a stroll to apply manually..

Thank you very much in advance for any help

Bilmar’s picture

subscribing

cha0s’s picture

Assigned: cha0s » Unassigned
Status: Needs review » Closed (won't fix)

I don't want to give anyone false hopes on this; I'm not working on it anymore.

When something of international importance sits on the tracker without an 'official' comment for 6 months, you have to ask yourself if the project jumped the shark.

rburgundy’s picture

Status: Closed (won't fix) » Active

I'm in real need of this and hoping someone else will be able to continue implementing translation support for this module.
It would be awesome for ubercart to expand globally by adding support for translation module.
I'm setting status to active at this moment. Thank you

heyyo’s picture

I have just seen your patch, I hope that Ubercart team will open their eyes, and that your work won't have been done for nothing.

http://www.ubercart.org/forum/internationalization/10878/i18n_issues_i_d...

marcoBauli’s picture

Priority: Normal » Critical

As Ubercart is internationally renown and adopted, as is Drupal itself, i would hazard to move full Locale support to Critical..

robby.smith’s picture

+1 subscribing

jazzitup’s picture

Translatable attribute fields

For those who would like to know how to translate those fields, here's an explanation:
http://www.ubercart.org/forum/internationalization/11999/my_solution_add...

xibun’s picture

+1 I also see this one as critical. removing the i18n limitations will accelerate Ubercart adoption.

patchak’s picture

madjoe : So how do we know which variables we need to render as multilingual? I saw in the post you linked to that we can translate Options on Attributes by enabling the multilingual variables features,.. I just don't know how to find those variables ? I tried to search for "ubercart", "atributes" or "option" but no luck for now... If you have any top about this, I would love to hear about it! ;)
Thanks

Alexis (patchak)

patchak’s picture

Maybe I'm saying something stupid, but it seems that these attributes are saved in arrays, so is this the same thing as a drupal variable? Not sure...

keereel’s picture

subs

keereel’s picture

I think, that patch is not actual for now, isnt it? I need this features in my project, but I'm not sure about. Patch date is june 09, i18n latest release date is april 10.

keereel’s picture

Yes, I'd try to apply this patch, and it doesn't work. There was many errors when patching. And result was "WSOD". Is there chance to update patch, or, maybe, some additional 'helper' module with this functions?

cha0s’s picture

Status: Active » Closed (won't fix)

Please see in the original post:

Requires this patch http://drupal.org/node/488422 because I couldn't reconcile adding (horrible) db_query() calls, or faking a form to access the API through a submit handler...

If you haven't noticed, this project is pretty stagnant. I'm setting to won't fix based on that.

calbasi’s picture

Status: Closed (won't fix) » Active

Hello,

First: thanks a lot Chaos, for your work.

Second: Ubercart team guys, I can not understand, like Chaos and a lot of people in several threads, why you are not working in Ubercart i18 full support because there is a lot of shops with this need (that is solved for OScommerce since it's pre-milestone versions, in 2002!!!)

Third: subscribing ;-)

Fourth: Chaos, have you read: http://www.ubercart.org/forum/internationalization/10878/i18n_issues_i_d... (There are a lot of people interested in it, maybe you, and other could attempts to do a module to fix the Ubercart core team lack of interest; users will be very pleased). If economical support is needed, we could collect money for it (I can, modestly, contribute)

Regards

YK85’s picture

subscribing

i really hope ubercart becomes more multilingual friendly

many thanks

Bartezz’s picture

+1 subscribing

dropbydrop’s picture

this is essential

mandreato’s picture

Subscribe

vasrush’s picture

Critical for me too.

longwave’s picture

Status: Active » Needs review
FileSize
10.43 KB

Patch attached that works with i18nsync module (from http://drupal.org/project/i18n) to add better support for translations. Doesn't yet handle attributes, product features or stock.

The original patch looks like it dealt with the initial translation, but then does not synchronise fields when editing products later on. This patch works correctly when updating products, as long as the relevant fields are selected under "Synchronise translations" at /admin/content/node-type/product

Note that i18nsync support for the basic product fields was already committed to Ubercart recently, this patch just expands on that some more.

hedac’s picture

subscribing
ubercart multilingual a must.

Bartezz’s picture

I solved i18nsync problems with code by firewing1, other ubercart/i18n related code also here;
http://www.firewing1.com/taxonomy/term/65

Cheers

longwave’s picture

@Bartezz: code similar to firewing1's blog post has already been committed, the patch in #24 covers more fields that firewing1 did not include.

dimitriseng’s picture

+1 This is really important for multilingual Ubercart sites, thank you very much for all your great work.

TR’s picture

Priority: Critical » Major

@hedac, @dimitriseng, and all the rest of the +1 crowd above: You say this is very important to you - if so, can you test the patch and let us know if it works and solves your issues? That's how we make progress here.

longwave’s picture

Status: Needs review » Closed (won't fix)

Not worth fixing this now in 6.x, in 7.x you should use entity translation instead to make things simpler.