Skip to content
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

About :i18n_dir and multi language site #1217

Open
SukkaW opened this issue Nov 14, 2019 · 0 comments
Open

About :i18n_dir and multi language site #1217

SukkaW opened this issue Nov 14, 2019 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@SukkaW
Copy link
Member

SukkaW commented Nov 14, 2019

https://hexo.io/docs/internationalization#Path

/index.html => en
/archives/index.html => en
/zh-tw/index.html => zh-tw

We should mention that en here is config.language or config.language[0](If Array is used at config.language). Also zh-tw things will only be considered as language when the zh-tw.yml is available at theme's language folder.

BTW, it is really hard to create a multi language site using Hexo.

@SukkaW SukkaW added the documentation Improvements or additions to documentation label Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant