Open sseerrggii opened 6 years ago
What do you want to do here exactly @sseerrggii ? AFAIK keeping the selected language across pages is about using the right locale in the link, meaning that blog should point to /ca/blog
I guess.
Then, that thing about search engines is something different. Am I right?
This is a good candidate for the Hacktoberfest as well.
We publish post in three different languages but for the moment we don't translate posts to this three languages. I think for the moment we don't need something like /ca/blog
We can start to define some metadata like "Post language" in Post and use this information to change html lang
With the changes done in https://github.com/coopdevs/coopdevs.github.io/pull/31, we have two versions of the blog post for each language: Catalan and Spanish.
If I understood correctly you want instead to show the appropriate lang
depending on the post contents, right?
@sseerrggii is this issue still valid?
We need a way to keep the selected language in all the page
We probably will do articles in different languages and we want search engines index it properly with html lang atribute