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

Support for multilingual #396

Open
re-toor opened this issue Jul 26, 2022 · 3 comments
Open

Support for multilingual #396

re-toor opened this issue Jul 26, 2022 · 3 comments

Comments

@re-toor
Copy link

re-toor commented Jul 26, 2022

Hi everyone,

I want to add a new language in meme theme but I don't know how the page does not appear anything to change to another language (from english to chinese e.g). Please help me, or let me know the steps.

Thanks a lot.

@reuixiy
Copy link
Owner

reuixiy commented Jul 27, 2022

  1. Fork this repository
  2. Copy en.toml to vi.toml under i18n folder
  3. Edit vi.toml
  4. (Set languageCode and defaultContentLanguage in config.toml to vi if you want to use it)
  5. Make the pull request (if you want to make it available for every MemE user)

@re-toor
Copy link
Author

re-toor commented Jul 27, 2022

Hi reuixiy,
Thanks for reply, I have done like your answer, but the thing I need exactly is there are nothing appear in header to change language, although I still add this:
[[menu.main]] weight = 7 identifier = "lang-switcher"
But It does not appear in. What should I do?

@reuixiy
Copy link
Owner

reuixiy commented Jul 28, 2022

See #89 #104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants