Fix i18n support on Windows

On windows we need to find the directory containing the translations
at runtime, we can't simply use `LOCALEDIR`.