When a multiple languages are enabled, the displayName
shows the current language name/icon (twice).
#565
Labels
bug
Something isn't working
#560 may have introduced a bug in multilingual sites in pre and post 0.112 hugo.
Summary
When a multiple languages are enabled, the
displayName
shows the current language name/icon (twice).The links are correct, and when clicking on the second language, both
displayName
name/icon switches to this name/icon (twice)Expected behaviour:
When multiple languages are enabled, the
displayName
should display both language options, eg:Actual behaviour:
When multiple languages are enabled, the
displayName
actually displays both language options with the same name, eg:Clicking on the second EN option here, goes to the correct DE URL, and now both names are DE.
While you are looking at this, can I add a feature request?
Rather than displaying both (or all) language names, can it either:
displayName
to toggle between them.This may make the header look a little less cluttered for some websites :)
Thanks for your awesome work!
Originally posted by @BenAlexanderAU in #560 (comment)
The text was updated successfully, but these errors were encountered: