I tried to set up a multilanguage project, but i18n variable translation does not work in connection with i18n-module version 6.x-1.10.
There was a change in i18n module in 2010. Translation of the i18n variables is processsed in hook_boot() now (commit: http://drupalcode.org/project/i18n.git/commitdiff/ec42768875ad6f91f20c3f...).
So adding the multilanguage variables to $conf array should not be done in uc_bank_transfer_init() anymore, but in uc_bank_transfer_boot() to make it work.
The following comment shows this multilanguage solution as well:
http://drupal.org/node/313272#comment-3315478
A workaround for developer: add the required variables to settings.php as proposed in http://drupal.org/node/313272 until this issue is fixed.
Comments
Comment #1
xibun commentedIMHO this seems to be a support request. more info needed in case I'm wrong...
1) I cannot reproduce the problem. for me everything works as expected with i18n 6.x-1.10
2) above links don't indicate a change from _init() to _boot() when it comes for declaring i18n variables
3) and if this really was a change in i18n - why did (just one example) ubercart not move the $conf to _boot()?
Comment #2
TS79 commentedad 1) then you are a lucky guy
ad 2) _i18n_init() is called in hook_boot() now. within _i18n_init() the function i18n_variable_init() gets called, where the variables get declared -> patch: http://drupalcode.org/project/i18n.git/commitdiff/ec42768875ad6f91f20c3f...
ad 3) the corresponding ubercart issue: #1407806: Multilanguage: i18n variable fails - have a look at the comment of longwave