Skip to content

[i18n] 'Search results' page fallbacks to English one #2087

@jihoon-seo

Description

@jihoon-seo

For example, in https://glossary.cncf.io/es/ (Spanish page),
when I search for 'Kubernetes',
it goes to https://glossary.cncf.io/search/?q=kubernetes ,
not https://glossary.cncf.io/es/search/?q=kubernetes .

(And this phenomenon persists even if we add the file content/es/search.md ;
please try at https://deploy-preview-2086--cncfglossary.netlify.app/es/ , the preview of the PR #2086,
which adds content/es/search.md.
In precise, it fallbacks from https://deploy-preview-2086--cncfglossary.netlify.app/es/ to https://glossary.cncf.io/search/?q=kubernetes ,
not https://deploy-preview-2086--cncfglossary.netlify.app/es/search/?q=kubernetes or https://glossary.cncf.io/es/search/?q=kubernetes .)

Would it be possible to make the language selection persistent across page transitions between search result page and others?
@cjyabraham could you please take a look? Thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions