n9gc/Readme i18n Switcher

Automatically generate a language switcher table in README.md based on translated README.*.md files. Without `git push`.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
foldersFolders of READMEs, one line each no
fileNameThe pattern of readme files' name, where `{lang}` is used to match the locale of the readme. RFC 6570. no
repoReadmeThe readme file that will be displayed as repo's README. If not provided, repo's README will not be changed. no
tagThe name of the html commit tag. no
switcherBodyTemplate string for the outter of switcher. micromustache. all vars: - `lines` the inner text of the switcher no
switcherLineTemplate string for each language option of switcher. micromustache. all vars: - `display` the localed language option to display - `filePath` the path of the readme - `folder` the folder of the readme - `lang` the text inside `{lang}` of the readme file no
switcherLineActiveTemplate string for the language option of the readme now. micromustache. all vars: - `display` the localed language option to display - `filePath` the path of the readme - `folder` the folder of the readme - `lang` the text inside `{lang}` of the readme file no
switcherSpliterText used to separate each language option of the switcher no

no outputs