Re: [web2py] Re: Proposal: create "namespaces" for translation system

2013-09-23 Thread Daniel Gonzalez Zaballos
The idea is exactly for this. To have separated localized components. I hope that in a few weeks/months we can release something that we are working on components. I cannot say to much now :) 2013/9/23 Massimo Di Pierro > I was skeptical but I have been convinced this is an excellent idea. Your

[web2py] Re: Proposal: create "namespaces" for translation system

2013-09-23 Thread Massimo Di Pierro
I was skeptical but I have been convinced this is an excellent idea. Your patch is going to trunk now. Thank you! On Monday, 23 September 2013 02:13:10 UTC-5, jamarcer wrote: > > Hello: > > I'm Demetrio's mate, and he asked me to upgrade the T with namespaces > functionality into trunk (Version

[web2py] Re: Proposal: create "namespaces" for translation system

2013-09-23 Thread step
Keeping namespaces in separate files makes distributing localized components easier, like in the wiki plugin example in the OP. OTOH -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issu

[web2py] Re: Proposal: create "namespaces" for translation system

2013-09-23 Thread Massimo Di Pierro
I asked for opinion on the web2py-developers list. I like your patch but already have a machenism for this T("welcome ## namespace") you propose T("welcome", ns="namespace") The different is not just semantics. In the former case different namespaces go in the same file. In your case they go

[web2py] Re: Proposal: create "namespaces" for translation system

2013-09-23 Thread jamarcer
Hello: I'm Demetrio's mate, and he asked me to upgrade the T with namespaces functionality into trunk (Version 2.6.3-stable+timestamp.2013.09.18.14.36.14). I have added a comment into 1196 issue with a code patch and a explanation. https://code.google.com/p/web2py/issues/detail?id=1196 I hope

Re: [web2py] Re: Proposal: create "namespaces" for translation system

2013-09-02 Thread Massimo Di Pierro
I meant you use as app_main as dictionary key for translation files in the main language/ folder. Can you use "." as key instead of "app_main"? (sorry it was app_main not app_name). On Monday, 2 September 2013 03:56:37 UTC-5, demetrio wrote: > > Hello Massimo, > > We'll try to have it at the end

Re: [web2py] Re: Proposal: create "namespaces" for translation system

2013-09-02 Thread Daniel Gonzalez Zaballos
Hello Massimo, We'll try to have it at the end of the month. We had applied it to production and is a 1.99.7 version and the trunk version has changed a lot. One question, what do you mean with use "." instead of "app_name"? Regards 2013/9/1 Massimo Di Pierro > Hello Demetrio, > > sorry for

[web2py] Re: Proposal: create "namespaces" for translation system

2013-09-01 Thread Massimo Di Pierro
Hello Demetrio, sorry for the late response. Could you please resend your patch, make sure it applies to trunk, and use "." instead of "app_name"? On Thursday, 29 November 2012 06:17:22 UTC-6, demetrio wrote: > > Hi everyone I post a reply in the web3py thread in this mailing list > asking for

[web2py] Re: Proposal: create "namespaces" for translation system

2012-11-29 Thread Massimo Di Pierro
Opened an issue and will review it today On Thursday, 29 November 2012 06:17:22 UTC-6, demetrio wrote: > > Hi everyone I post a reply in the web3py thread in this mailing list > asking for a site where make a wishlist, but thinking about what I would > want in web3py, I realized that I needed in