Added debug msg
Minor fixes for translation and logging