added support for multiple languages (part1)