Example: /german-blog-post automatically redirects to /de/german-blog-post /german-page doesn’t redirect to /de/german-page
both (blog post and page) have the tag de that is defined for the collection in routes.yaml
Besides, is there any solution on how to automatically serve the correct content (page or post) based on the Accept-Language browser header in Ghost? (Otherwise I’ll try to hack something with nginx.)
And what about a language selector on the blog post or page to switch languages for the current post/page?
Hey @alexschomb. The pages will not show up in collections because as stated in Ghost docs: " To display all posts contained within them on a paginated index route". Pages are not included in collections.
More details here on how collections work can be found here:
Besides, is there any solution on how to automatically serve the correct content (page or post) based on the Accept-Language browser header in Ghost? (Otherwise I’ll try to hack something with nginx.)
Ghost doesn’t respect Accept-Language header at the moment.
And what about a language selector on the blog post or page to switch languages for the current post/page?
Hey @naz. Thanks for the clarification, it is unfortunate that Ghost doesn’t support multi-language for pages, but I think I can find a manual workaround for my current project. Thanks for the link to the other topic as well, I didn’t know that i18n is still under development.