fix for update_localization.py

This pull request should fix #1185

It fixes the script so it can be run from the scripts folder and sorts all localizations case insensitive.