[i18n] translation.php and fatal error handling

Leena Heino Leena.Heino at uta.fi
Mon Dec 13 00:53:05 PST 2004


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.

-- 
   Leena Heino              University of Tampere / Computer Centre
   ( liinu at uta.fi )      ( http://www.uta.fi/laitokset/tkk )


More information about the i18n mailing list