[web2py] Re: web2py always writes on language files to translate

2011-03-14 Thread José L .
Is there anyway to force the update of translations files by code? I'll add it to the Debian package in case it's possible, so this problem will disappear...

[web2py] Re: web2py always writes on language files to translate

2011-03-14 Thread Massimo Di Pierro
this is not possible because it may translate variables and their value is not known until runtime. On Mar 13, 1:45 pm, pbreit pbreitenb...@gmail.com wrote: Interesting idea: Maybe this check should be done with all the language files when a new release is done, so they are complete, avoiding

[web2py] Re: web2py always writes on language files to translate

2011-03-13 Thread Massimo Di Pierro
How do you know there is no need for it? Did you look at what is being re-written? It should only try to re-write if you have new text needing translation. Massimo On Mar 13, 10:56 am, José L. jredr...@gmail.com wrote: Hi, running web2py in a directory with restricted permissions I've checked

Re: [web2py] Re: web2py always writes on language files to translate

2011-03-13 Thread Jonathan Lundell
On Mar 13, 2011, at 10:33 AM, Massimo Di Pierro wrote: How do you know there is no need for it? Did you look at what is being re-written? It should only try to re-write if you have new text needing translation. José mentioned restricted permissions. If the write fails, might it keep trying?

[web2py] Re: web2py always writes on language files to translate

2011-03-13 Thread José L .
On Sunday, March 13, 2011 6:33:00 PM UTC+1, Massimo Di Pierro wrote: How do you know there is no need for it? Did you look at what is being re-written? It should only try to re-write if you have new text needing translation. ok, catched, so there's not such bug, only my

[web2py] Re: web2py always writes on language files to translate

2011-03-13 Thread pbreit
Interesting idea: Maybe this check should be done with all the language files when a new release is done, so they are complete, avoiding this write attempts Does we know how translation impacts performance in general? And if there are any warranted optimizations?