Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- Attributes/Adjustments
- Product features (in core - files & roles)
- Stock
- Google Checkout
- Quote
- UPS
- USPS
- Weight Quote
Thanks. :)
Comment | File | Size | Author |
---|---|---|---|
#24 | 488452-translation-support.patch | 10.43 KB | longwave |
translation.2.x.patch | 13.37 KB | cha0s | |
Comments
Comment #1
depcam CreditAttribution: depcam commentedsubscribe
Comment #2
Docc CreditAttribution: Docc commentedsubscribe
Comment #3
marcoBauli CreditAttribution: marcoBauli commentedHowdy, 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
Comment #4
Bilmar CreditAttribution: Bilmar commentedsubscribing
Comment #5
cha0s CreditAttribution: cha0s commentedI 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.
Comment #6
rburgundy CreditAttribution: rburgundy commentedI'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
Comment #7
heyyo CreditAttribution: heyyo commentedI 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...
Comment #8
marcoBauli CreditAttribution: marcoBauli commentedAs Ubercart is internationally renown and adopted, as is Drupal itself, i would hazard to move full Locale support to Critical..
Comment #9
robby.smith CreditAttribution: robby.smith commented+1 subscribing
Comment #10
jazzitup CreditAttribution: jazzitup commentedTranslatable 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...
Comment #11
xibun CreditAttribution: xibun commented+1 I also see this one as critical. removing the i18n limitations will accelerate Ubercart adoption.
Comment #12
patchak CreditAttribution: patchak commentedmadjoe : 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)
Comment #13
patchak CreditAttribution: patchak commentedMaybe 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...
Comment #14
keereelsubs
Comment #15
keereelI 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.
Comment #16
keereelYes, 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?
Comment #17
cha0s CreditAttribution: cha0s commentedPlease see in the original post:
If you haven't noticed, this project is pretty stagnant. I'm setting to won't fix based on that.
Comment #18
calbasiHello,
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
Comment #19
YK85 CreditAttribution: YK85 commentedsubscribing
i really hope ubercart becomes more multilingual friendly
many thanks
Comment #20
Bartezz CreditAttribution: Bartezz commented+1 subscribing
Comment #21
dropbydrop CreditAttribution: dropbydrop commentedthis is essential
Comment #22
mandreato CreditAttribution: mandreato commentedSubscribe
Comment #23
vasrush CreditAttribution: vasrush commentedCritical for me too.
Comment #24
longwavePatch 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.
Comment #25
hedac CreditAttribution: hedac commentedsubscribing
ubercart multilingual a must.
Comment #26
Bartezz CreditAttribution: Bartezz commentedI solved i18nsync problems with code by firewing1, other ubercart/i18n related code also here;
http://www.firewing1.com/taxonomy/term/65
Cheers
Comment #27
longwave@Bartezz: code similar to firewing1's blog post has already been committed, the patch in #24 covers more fields that firewing1 did not include.
Comment #28
dimitriseng CreditAttribution: dimitriseng commented+1 This is really important for multilingual Ubercart sites, thank you very much for all your great work.
Comment #29
TR CreditAttribution: TR commented@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.
Comment #30
longwaveNot worth fixing this now in 6.x, in 7.x you should use entity translation instead to make things simpler.