I have translated all the strings for the e-mail customers get after checkout (Your Order at ...), but the e-mails that are sent out are still all English. All of the strings on site are translated as expected, except for a few words (Order comments, Add to cart, Remove, Image, Back). I checked the files manually and re-imported several times.

The real problem is with the e-mail, though, since it cant' be translated using localization client.

Comments

perandre’s picture

Title: Translated strings not reflected in e-mail » Certain strings not translated on certain pages

The output of some strings come out in english where they should come out translated. Some of them are translated on other pages.

Misbehaving strings (that I've found so far):

CHECKOUT PAGE:
Qty.
Products
Payment method
Continue with checkout to complete payment.
Order comments
Order comments:

REVIEW ORDER PAGE
Review Order
Payment method
Back

INVOICE E-MAILS
...all content

rszrama’s picture

Category: bug » support
Status: Active » Fixed

These strings are being stored in the variables table and cannot be translated through t(). There's discussion in the forums on this for possible fixes, but I think they boil down to having to use the i18n module. I haven't done this myself, but you should be able to find support on it in their issue tracker or in our forums.

perandre’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta1
Status: Fixed » Active

I'm re-opening this, since I could not find the discussion in the uc forum or the issue tracker giving the solution on how to translate the mentioned strings (I also updated to beta1).

I also should mention that some of the strings on /admin/cart (Remove, Products, Qty. and Subtotal) are wrapped in t(), but are still not translatable. They can however easily be translated by hardcoding it into core. Unfortunately, that's not the case with all of the other strings, which leaves the non-php savvy drupalist with zero possibilities for using a non-english version of uc (unless a documented fix using i18n/l10n is provided).

rszrama’s picture

Status: Active » Fixed

If you could not find a relevant thread on Ubercart.org, please open a new one there. There are dozens of people dealing with internationalization issues lurking about there, whereas the people here are focusing on fixing bugs. The strings you found were defaults that are overridden in settings form, which is why they're not being translated as expected. If you don't get help on Ubercart.org, search drupal.org for information on translating variables.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.