samrum / vite-plugin-web-extension

A vite plugin for generating cross browser platform, ES module based web extensions.
MIT License
325 stars 32 forks source link

Internationalization #79

Closed blombard closed 1 year ago

blombard commented 1 year ago

Hello and thank you for your work.

Does this plugin support Internationalization and if yes, what should I do to enable it in my app?

Documenation:

samrum commented 1 year ago

Like regular Vite projects, a public directory will have its contents copied to the output directory, so you could place your _locales directory there.

Skimming through that first doc, and without testing, Locale-dependent CSS is the only feature that may not work. Everything else should as described in that doc.