hugo-theme-cactus icon indicating copy to clipboard operation
hugo-theme-cactus copied to clipboard

Can Chinese language support be added?

Open seekdoor opened this issue 3 years ago • 5 comments

When I edit in Chinese, the preview is garbled. image

seekdoor avatar Apr 28 '21 15:04 seekdoor

the font probably does not work. You need to change it in the css file.

ungeschneuer avatar Apr 28 '21 15:04 ungeschneuer

But the article display in posts is normal image

seekdoor avatar Apr 28 '21 15:04 seekdoor

Try right clicking on the text and choose inspect in Chrome, then see what font-family is being used to render the text in both instances.

lollipopman avatar Apr 30 '21 14:04 lollipopman

@seekdoor Hi there! Thanks for using this theme!

This issue seems unrelated to the theme's language support. The languageCode is currently used only at <html lang="...">. It works on my laptop.

Do you have any extension installed in your browser that affects the browser's charset? Charset other than utf-8 will not work. Or can you check the encoding of your config file's encoding? It should also be utf-8.

Best regards! Screenshot from 2021-07-04 21-09-50

monkeyWzr avatar Jul 04 '21 12:07 monkeyWzr

want some social credit?

ghost avatar Feb 25 '22 21:02 ghost