Giter VIP home page Giter VIP logo

Comments (12)

zzossig avatar zzossig commented on August 17, 2024 1

Thanks for the information! I'll investigate more about it. I promise the Chinese search supported in the future

from hugo-theme-zzo.

zzossig avatar zzossig commented on August 17, 2024 1

@Codeapes666 Update your blog with the latest version of the Zzo theme. I have added support for Chinese. I changed the search library. If you are using an older version, only searching for English is possible.
使用最新版本的Zzo主题更新您的博客。我增加了对中文的支持。
我更改了搜索库。如果您使用的是旧版本,则只能搜索英文

from hugo-theme-zzo.

zzossig avatar zzossig commented on August 17, 2024

@Codeapes666 Hi, I really glad to hear that. I'm also thankful that my Chinese friends find many bugs and tested this repository.

Ok! I really want to support the Chinese language but how?
Do you mean that i18n translation file? Or the Chinese version of the README.MD file?

from hugo-theme-zzo.

fandean avatar fandean commented on August 17, 2024

对的,我也想问,你说的添加中文支持具体指什么? 😄

from hugo-theme-zzo.

fandean avatar fandean commented on August 17, 2024

I think he means support for Chinese search

from hugo-theme-zzo.

zzossig avatar zzossig commented on August 17, 2024

I'm using lunr.js for a site searching library. It seems that the Chinese language not supported yet.
There is a pull request for supporting Chinese. But I don't know why the repository owner does not merge the pull request.

I'll think more about how to support Chinese

from hugo-theme-zzo.

fandean avatar fandean commented on August 17, 2024

I've also thought about lunr.js not supporting Chinese search, and I've considered using Google, Baidu, Bing's in-station search, but I don't feel the style is right.

I hope the search features used in this blog below will give you some inspiration.

from hugo-theme-zzo.

zzossig avatar zzossig commented on August 17, 2024

@fandean Thank you for spent time with me! I'll add a Chinese search in the future! I'll make a new issue regarding this.

from hugo-theme-zzo.

Codeapes666 avatar Codeapes666 commented on August 17, 2024

@zzossig I means support for Chinese search, and also see that lunr does not support Chinese at present.

from hugo-theme-zzo.

Codeapes666 avatar Codeapes666 commented on August 17, 2024

@zzossig But I see that this link(https://github.com/nandy007/lunr.js) solves the problem of Chinese search, but I don't understand his meaning at present. I'm a rookie.

from hugo-theme-zzo.

Codeapes666 avatar Codeapes666 commented on August 17, 2024

It's very nice. Perfect supports Chinese search.

from hugo-theme-zzo.

zzossig avatar zzossig commented on August 17, 2024

@Codeapes666 You finally did it. I'm proud of you

from hugo-theme-zzo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.