fix locale in the plugin so that navigation to a page in another language works as expected