Okay,

Well maybe it is just me but I think when you click the update translations
button in admin, it should automatically grab ALL
strings especially default strings in admin so we can translate them. For
example with pyramid you use python setup.py extract_messages this will go
through every single file in the project to pull out the translate able
strings.

Would it be difficult to change the way translation works to do this?

On Sun, Mar 11, 2012 at 5:21 AM, Alan Etkin <spame...@gmail.com> wrote:

> When messages object is instantiated, T is passed as argument
> probabbly to process default auth values for translation.
> Then .password_reset_button is set without T(...), so for automatic
> translation, there should be some operator overloading for the Message
> instance to translate the text without explicit T call, otherwise, the
> attribute will just be set without further actions.
>
> On 11 mar, 01:26, Bruce Wade <bruce.w...@gmail.com> wrote:
> > Hi,
> >
> > I was looking at the Auth class, why are settings like the following not
> > showing in the language translations files by default?
> >
> >         # ## these are messages that can be customized
> >         messages = self.messages = Messages(current.T)
> >         messages.password_reset_button = 'Request reset password'
> >
> > I have no idea what Messages(current.T) is supposed to do however the
> above
> > string is not found in the languages files.
> >
> > --
> > --
> > Regards,
> > Bruce Wadehttp://
> ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.fitnessfriendsfinder.com
>



-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com

Reply via email to