[i18n] translation.php and fatal error handling

Vilius Šumskas vilius at lnk.lt
Mon Dec 13 01:20:56 PST 2004


Leena Heino <Leena.Heino at uta.fi> rašė:

> Translation.php has a very annoying feature. If there is a fatal error
> within the po or the pot files then the existing po file is destroyed
> along with all your translated strings.
>
> Though the damage might not be so great if you use compendium, but without
> compendium translation.pgp will create an empty po file.
>
> Would it be possible that the translation.php makes a backup of the
> existing po file and if there are any fatal errors it reports the errors
> but also restores the backupped file.

I can confirm this too. I'm just lucky I make backup of my PO files.

-- 
   Vilius



More information about the i18n mailing list