This starter is not using any translation or translation package so not sure what should I look at?
I managed to get this working by using different library.
But I have a new problem - some pages will be static and not coming from Prismic and some will be from Prismic, how would I tackle the language switcher in this scenario? How can I make language switcher without LinkResolver function and only using Route resolver?
The example in docs is only showing how to build this with LinkResolver and I struggle how to detect which page is from Prismic and which one isn't. I'd also want to stay on the same document in case of Prismic and or the same page when static while switching the language.
For example, I want to switch language like this - if I'm on blog article coming from prismic:
EN locale: /blog/this-is-article
then switching on that page using language switcher will lead me to:
DE locale /blog/das-ist-artikel
But then let's say I have one article NOT coming from prismic and it's static. How can I make language switcher detect this use case?
Ideally if I would have translated route like /bloggen/das-ist-artikel - is this even possible?