glossary icon indicating copy to clipboard operation
glossary copied to clipboard

Wrong links in language menu for some terms

Open sistella opened this issue 3 years ago • 2 comments

I have spotted some terms that are not localized yet, to have the language available in the context menu. For those, the link is the root page, rather then the term's one. e.g Service image Horizontal Scaling image

sistella avatar May 24 '22 09:05 sistella

I guess that this is the default behavior of Docsy that we are using now, when none of languages other than the default language (English) has the translated version of English one. (cf. https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/ )

@sistella If you have some suggestion for this, could you share with us? 😊


For anyone's information: if we want to customize this, then we might have to copy and modify docsy/layouts/partials/navbar-lang-selector.html.

jihoon-seo avatar May 27 '22 01:05 jihoon-seo

I feel this behavior is inconsistent and should be fixed. Terms generally list the languages that have a translation so, if there are no translations other than English, perhaps the languages dropdown should just say translations n/a or something like that?

cjyabraham avatar Aug 07 '22 21:08 cjyabraham