fix domain_word to work correctly on all locales