Edit Hexo config file, set the value of
language to the language you need. For example, English looks like this:
NexT now supports following languages:
|Chinese (Hong Kong)||繁體中文-香港|
|Portuguese (Brazilian)||Português (Brazilian)|
The files in the
language directory are automatically generated, you do not need to modify them directly. Please submit translations via Crowdin if you would like to add or improve translation for NexT theme.
Set multiple languages in Hexo config file, e.g.
Then turn on
language_switcher in NexT config file:
# Show multilingual switcher in footer.
If you would like to customize the default translation, you do not need to modify the translation files in the
languages directory. You can override all translations using Data Files.
Insert following codes: (be careful about the two-space indent)
# the translation you perfer
This situation is also available for off-list items. For example, Next uses Theme Inject to introduce the commments systems. You can rename the returned value in chinese as followed: