I think I forgot to mention...
Take care if you clear the whole file, you will probably lost your good
translation...
So maybe make a copy of the file and then you can write a simple script that
compare both dict the old one and the new generated dict store into
tranlation file than import just t
That is exactly what I needed ! Thanks a lot.
Regards,
Thomas
Le 27/09/2011 22:52, Richard Vézina a écrit :
And since the file is always rebuild... If he wants to clear old stuff
he just can earase the entire file if he wants.
Also, imagine you want to keep some translation into DB... You ca
And since the file is always rebuild... If he wants to clear old stuff he
just can earase the entire file if he wants.
Also, imagine you want to keep some translation into DB... You can use
something like that :
#
-
# GET
Web2py already add all the things put between the parantesis after the magic
T() when you clic updates languages button from the admin...
I think Thomas want to clean his language file from old entry or not
translated ones... In the first case I see no easy way except someone as you
said write a s
I guess it should be quite easy to write a script which scans all the
py files for labels and compares them with the labels from the
translation file. Maybe a script like this already exists?
Alex
On 27 Sep., 21:29, Richard Vézina wrote:
> What do you mean, the untranslated yellow background ent
5 matches
Mail list logo