You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I switch to Spanish, the menu still shows 'Spanish' instead of 'Español' (the translation from English to Spanish).
Is there a way to make it automatically show the right language name based on the chosen language? I think this would make things better for websites with different languages.
The text was updated successfully, but these errors were encountered:
Hi!
There is no way to do this out of the box, in theory you can pass languageName thought i18n in partials/docs/languages.html as {{ i18n .Language.LanguageName }} and then add translations in i18n folder.
But for me it will be very hard to maintain these translations in theme
Hi there,
I'm using
hugo-book
theme for personal experiments, and I have a question about translating language names.Here's what's in my setup:
When I switch to Spanish, the menu still shows 'Spanish' instead of 'Español' (the translation from English to Spanish).
Is there a way to make it automatically show the right language name based on the chosen language? I think this would make things better for websites with different languages.
The text was updated successfully, but these errors were encountered: