The translation of the message set by uc_cart_new_account_details is not working.
I made a change to get this working, but I guess it would be better to understand what is happening.
from:
'#description' => variable_get('uc_cart_new_account_details', t('Optional. New customers may supply custom account details.
We will create these for you if no values are entered.')),
to:
'#description' => t('Optional. New customers may supply custom account details.
We will create these for you if no values are entered.'),
Someone can help?
Comments
Comment #1
longwaveTranslation of this variable was added after 7.x-3.4 was released, so you need 7.x-3.x-dev or wait until 7.x-3.5.
You also need the Variable Translation (i18n_variable) module enabled, then go to /admin/config/system/variable/realm/language/configure, click "Ubercart checkout settings" and ensure "New account details help message" is checked. You will then be able to add custom translations for each enabled language at /admin/store/settings/checkout.
Comment #2
camilohollanda commentedThanks!
Comment #3.0
(not verified) commentedfixed a mistake when pasting the change