better language switching and json objects for language messages