adbrosaci / vue-lang-router

Vue language routing with (optional) localized URLs.
MIT License
66 stars 8 forks source link

Problem with special characters #19

Closed foggy748 closed 2 years ago

foggy748 commented 2 years ago

Hi,

I have some problem with the special characters in the language-switcher component. In developpement it works good but in production I have this : image

Normallu it was: Français - English.

My index.html has <meta charset="utf-8">. I have tried to write the "ç" with the javascription notation but doesn't work.

lang/translations/index.js export default { fr: { name: 'Français', load: () => { return import('./fr.json') } }, en: { name: 'English', load: () => { return import('./en.json') } } }