update to work with other languages

Tested with danish