Lazy loading translation
Last updated
Last updated
If you are developing a large app, you can consider using lazy loading translation: translations that are lazy loaded only when requested (when the user navigates to a specific section or page of the app):
For lazy loading of files in a specific section, you need to add useSpeak
to the layout:
or in a specific page:
Note that you must create a component for the page, because Qwik renders components in isolation, and translations are only available in child components