fix to work with other languages

Tested with danish. Should work with all though.

I only updated my script itself. Not sure if other files need to be updated. If there are other dependencies let me know and I will include them in future updates.