I was trying to translate uc_messages from the UI because I saw that it is defined as a multilingual variable.In my site was impossible and also in a fresh installation.
AFAIK to have a multilingual variable we need to have this variable into variable table and also we need the other translated string version in i18n_variable.
If you go to languages and check the multilingual variables you can see a lot of variables related notifications that in my case was impossible to translate.
Studing a little bit more I see that the conditional action text is in ca_predicates table into the description field so in this case i understand when we call to take the text we dont use variab le table and i dont know at the moment if we have in i18n something to translate in this cases from a ca.
here i created a patch http://drupal.org/node/751490#comment-5959134 that its sure not the way to translate this.

So I Think the best solution is to create differents actions depending user language.It works perfectly and maybe we could add this to the doc if its the correct way.

Comments

longwave’s picture

Category: feature » support
Status: Active » Fixed

Yes, the easiest way to do this is to use conditions to check the user's language and apply different actions depending on this. As you say this "works perfectly", marking this as fixed - this issue can be the documentation, or anyone can update docs at http://drupal.org/documentation/modules/ubercart

Status: Fixed » Closed (fixed)

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

fotisp’s picture

In order to use "differents actions depending user language" it will be nice to install also https://drupal.org/project/reglang to make sure that all users have a language defined :)