Upgrade script: hack to support localisation.