i18n-webpack-plugin icon indicating copy to clipboard operation
i18n-webpack-plugin copied to clipboard

Possibility to dynamically load localized bundle as chunk

Open Ziker22 opened this issue 7 years ago • 1 comments

Hi guys, First of all thanks for great work. I have a question though. In my app the only way to determine which language is being used is to visit login screen then let user select lang value in combobox then hit login and after that im 100% sure about locale (it can be used in app you have to logout/login again) So my question is . Is there some way to code split my app to login and everything else and then load lets say bundle_de_DE.js after button is clicked ?

Ziker22 avatar Nov 15 '17 13:11 Ziker22

Yes. But you'll probably want to check out the code splitting docs, this isn't relevant to this package.

davidfurlong avatar Jan 22 '18 14:01 davidfurlong