Currently circuitversedocs is made using Docsifyjs documentation site generator which can be internationalised easily.
- use different repositories for each language.
- use same repository with subfolders for each language.
Currently circuitversedocs is made using Docsifyjs documentation site generator which can be internationalised easily.
jekyll dont provide any official documentation for internationalization,below info generated by reading docs of different jekyll multilangual plugins
more popular i18n plugns for jekyll are jekyll multiple language plugin ,jekyll-polygot, jekyll-i18n.
list of supported plugins is given here which does not indclude any of the i18n plugin.but by having CI setup can make unsupported plugin work for us.
there is no native i18n support provided by jekyll,but can be achieved through plugins or by providing i18n support from scratch.
I18n basic configuration already done in CircuitVerse platform.Changes can be done according to file structure of locales we will use
can be done in two ways : 1> define explicitly or by inferring locale
config/locales/views
folderIf there is single file in module we dont include erb name for file. here we use view_folder_name: i.e about:
as a top level namespace
[ | |
["English", "en"], | |
["Portuguese", "pt"], | |
["Japanese", "ja"], | |
["Swedish", "sv"], | |
["German", "de"], | |
["Bulgarian", "bg"], | |
["Turkish", "tr"], | |
["Indonesian", "id"], | |
["French", "fr"], |
Jekyll-I18n enables basic level support for I18n but is no longer maintained anymore and cant' be used for proper I18n support for Interactive-Book.
React-i18next | React-intl | |
---|---|---|
monthly downloads | 6033996 | 4061606 |
Maintainence | Maintained | Maintained |
Relay on external dependencies | 3 | 10 |