robisim74/qwik-speak

For the qwik project deployed by ssg, switching to other languages does not take effect

AllenIverson1122 opened this issue · 2 comments

For the qwik project deployed by ssg, switching to other languages does not take effect

In a localized app, SSG must be able to create an index file (pre-rendered) for each page and for each supported language.

How are you handling localization in your app?

Without a param for the language in your router, you will only get your default language pre-rendered.

If you are using a localized router, you need to manage a dynamic router, as explained in Qwik docs: https://qwik.builder.io/docs/guides/static-site-generation/#dynamic-ssg-routes

See also #71 (comment)