The product page (with the Add to cart button) was not yet handled. Here it is:

function uc_i18n_uc_form_alter(&$form, &$form_state, $form_id) {
  if (strpos($form_id, 'add_to_cart_form') || strpos($form_id, 'add_product_form')) {
    $form['node']['#value']->attributes = uc_i18n_translate_attributes_and_options($form['node']['#value']->attributes, $form['node']['#value']->language);
  }
}

Comments

splash112’s picture

Status: Active » Needs review

Hi djg_tram,

Thanks for your bug report. Did set the module weight before manually and forgot to put it in the module. Now added to install and update function, so please try again with the latest dev in a couple of hours.

Thanks
Mark

splash112’s picture

Status: Needs review » Postponed (maintainer needs more info)

Does your problem still exist?

djg_tram’s picture

Sorry, d.o seems to have its own mind about when it sends me an e-mail notification and when not...

If you checked and fixed it, it probably is all right, I even forgot what site I needed this modification for. If it's still important, I'll try to find out... :-)

splash112’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Thanks for you quick reaction. Think in you case it should have been solved by raising the weight. There is another issue #1400830: Translations added but not displayed with about the same problem, but maybe a different source.

Will close this one, further discussion if needed in issue above.