Add danish locale, fix test

I have added a danish locale, reordered the locales alphabetically and fixed a syntax error in the locales-test which stopped it from running.