tfunction for translation:
i18n.inityou either could create some custom code setting the needed language or just use one of the provided language detectors coming with i18next.
?lng=LANGUAGEto the URL.
Why not just use dynamic imports to load the language needed?
Page2you will notice the initial render will trigger the load for
page2.jsonbut also render the page without the translations ready. There will be a rerender when the translations where loaded resulting in the page flickering.
Page2will be blank until the needed translation files were loaded.
i18n.initwould enable having catalogs and
tfunction would result in
<3>pseudo tags are based on the index of appearance in