How are translations handled during upgrade?
zpdbrox - August 18, 2003 - 11:10
I'm considering translating drupal into Danish, but it's not clear to me if these translations are lost during a drupal upgrade (version 4.3 or whatever is coming next).
Can anyone enlighten me?
Regards
Zpdbrox

not very well
Untill now (made the switch from 3.0 -> 4.0 -> 4.1 and 4.2)the translations were always remembered by the database, however this isn't a 100% guarantee from the drupal developers. When you read the info of the update.php file, you used to use for upgrading, you'll see;
But, my experience learns me that drupal leaves the locales table (until now) *almost* untouched.. On my local and production site the locales tables are used from the very 1st beginning of drupal and are still untouched by any update script..
One disadvantage of this is that old and not used strings (translated or not) aren't deleted out of this table. So you're locales table will grow and grow without any stop. (The same with the variables table)