fix 404 issues with locales