-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notice headlines always in English #334
Comments
Same issue here. Have you found a solution? |
No, I'm afraid not, I moved to a whole different system for that project. |
May I ask which one? I am still looking for good and fast systems for documentation or FAQ |
I went for Typemill, maybe it'll match your use case too. |
For your info, with simple css you can change it. ;) In my theme-mine.css: /* multilingual notice */
div.notices.warning:lang(de) p:first-child:after {
content: 'Warnung';
}
div.notices.note:lang(de) p:first-child:after {
content: 'Notiz';
}
div.notices.info:lang(de) p:first-child:after {
content: 'Information';
}
div.notices.tip:lang(de) p:first-child:after {
content: 'Tipp';
} Here was the solution. |
Closed
maxatome
pushed a commit
to maxatome/hugo-theme-learn
that referenced
this issue
Jan 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thank you very much for the theme!
I'm using the notice shortcodes and have notices that the headlines Note, Info, Tip and Warning are always in English, regardless of the language. You can see that in your own French guide.
Unfortunately, I haven't managed to manually fix this because I can't seem to find the strings. Preferrably, I'd enhance the translation file in the i18n folder, but even that I haven't managed yet. What do I need to do?
Thanks in advance!
The text was updated successfully, but these errors were encountered: