enabled translations code in main.cpp