Updated version of update_translates.sh and a new script for checking variables are handled correctly