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 script... In the second case the yellow box (not translated
entry) why not just leave them there... They will always be returning in the
language files anyway...

Richard

On Tue, Sep 27, 2011 at 4:16 PM, Alex <[email protected]> wrote:

> 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 <[email protected]> wrote:
> > What do you mean, the untranslated yellow background entry or the old
> entry
> > not good anymore?
> >
> > Richard
> >
> > On Tue, Sep 27, 2011 at 11:21 AM, Thomas Bellembois <
> >
> >
> >
> > [email protected]> wrote:
> > > Hello,
> >
> > > Is there a way to clean up unused translation strings ?
> > > I have googled the question without success...
> >
> > >http://www.mail-archive.com/**[email protected]/**msg06533.html<
> http://www.mail-archive.com/[email protected]/msg06533.html>
> >
> > > Regards,
> >
> > > Thomas

Reply via email to