Static GitHub Issues

[242] How to get request in Vue plugins initialization

prev: Vuex Store with modules bug with mapGetters
next: Using external scripts?

Is there a way to get the current request during plugins initialization? I need to initialize a translation component which needs the current language (I expect to find it using Accept-Language header and/or current route).

Thanks

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c208">#c208</a>)</em></sub></div>