在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):netdata/localization开源软件地址(OpenSource Url):https://github.com/netdata/localization开源编程语言(OpenSource Language):Shell 100.0%开源软件介绍(OpenSource Introduction):LocalizationThis project contains translation files for the Netdata HTML documentation. All contributions will be made via GitHub Pull Requests. Add translations for a new languageUnder the root directory, you will need to add a subdirectory with the language abbreviation as shown at https://squidfunk.github.io/mkdocs-material/getting-started/#localization. If your language does not appear in the Underneath your directory you will add markdown files, using the precise structure of the For example, to provide a Chinese translation on how to update Netdata, the file should be When you do a pull request with your PR, you will see that a Netlify check is automatically executed for your language as well. If you click on deploy preview, the HTML documentation at https://docs.netdata.cloud will also be available under The generated documentation has a language switcher tool, which we will extend with your language, once your PR is successfully merged.
You may submit a PR yourself, by adding an option for your language. Translate more documentsIf you already see your language in https://docs.netdata.cloud, you will notice that many files are still shown in English. Pressing the 'edit' file will lead you to an invalid location, because no one had added a translation for that file. To provide one yourself:
Caution regarding header translationsHeaders in markdown documents have a dual use as a section description and a link to a specific part of the document. When you translate a header, you will need to find where else in the documentation that header is referenced and change that reference as well. An alternative workaround to modifying all links to a section is to keep the original, English headers as well. This will result in duplicate headings, one in English and one in your language, so it's not a proper solution. As soon as the issue with the build process is resolved, the check
for broken links will be done for you by the build process ( |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论