Re: [web2py] Re: Translations in custom classes

2012-03-11 Thread Bruce Wade
I was referring to all strings visible to the end user. Primarily the customizable setting stringsstrings On Mar 11, 2012 2:22 PM, "Alan Etkin" wrote: > > it should automatically grab ALL > > strings especially default strings in admin so we can translate them > > I don't understand completely ho

[web2py] Re: Translations in custom classes

2012-03-11 Thread Alan Etkin
> it should automatically grab ALL > strings especially default strings in admin so we can translate them I don't understand completely how does the web2py translator works internally, but, why to translate every string in a module? Sometimes there are strings that the core developer is not intere

Re: [web2py] Re: Translations in custom classes

2012-03-11 Thread Bruce Wade
""Looks in specific folders in the current application"" On Sun, Mar 11, 2012 at 8:49 AM, Bruce Wade wrote: > How would we update this method so it also gets all the strings from the > gluon package? When you click update all languages it only looks in the > specific language folders. This shoul

Re: [web2py] Re: Translations in custom classes

2012-03-11 Thread Bruce Wade
How would we update this method so it also gets all the strings from the gluon package? When you click update all languages it only looks in the specific language folders. This should also look in the gluon package and ideally there should be away to add locations for it to look. def findT(path, l

Re: [web2py] Re: Translations in custom classes

2012-03-11 Thread Bruce Wade
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 sin

[web2py] Re: Translations in custom classes

2012-03-11 Thread Alan Etkin
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 e