Update main.cpp

Added code for qt localisation