Hello again,

I've finally gotten around to investigating this issue ( the non-
translation of payment modules display text), and I've found the
problem and a solution. In satchmo.payment.config (ver 0.8.1), line
130, the label =  config_value(module, 'LABEL', default = module_name)
the method config_value needs to be wrapped in ugettext_lazy to
translate correctly, like this:

label = ugettext_lazy(config_value(module, 'LABEL', default =
module_name))

That fixes the issue for me. Can someone else verify it and I can
submit a fix.

Cheers,
Sam

On Dec 11 2008, 6:08 pm, nostradamnit <[email protected]> wrote:
> Hi all,
>
> I'm having translation problems again. This time its in the
> translation of custom payment methods. Regardless of the language
> chosen, the payment methods appear in English. The strings are marked
> for translation, they are translated in the .po file, compiled
> into .mo file?!? Oddly enough, once a method has been chosen, they are
> translated on the following pages... How can I debug this?
>
> I've also found that the Bill to and Ship to labels aren't translated,
> nor are the countries in the country dropdown menu.
>
> Thanks for your eventual help,
> Sam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to