2 lines
1.6 KiB
JavaScript
2 lines
1.6 KiB
JavaScript
import{_ as e,c as t,o,a as n}from"./app.b8b795d4.js";const f='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"}],"relativePath":"en_US/developer/l10n.md"}',a={},l=n('<p><strong>Nezha Monitoring's Dashboard has added localization to support multiple languages, and you can follow these steps to support localization when developing new features</strong></p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Nezha uses the Crowdin platform to translate text, please do not directly modify the toml files other than <code>zh-CN.toml</code>.</p></div><h2 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-hidden="true">#</a></h2><ol><li>You can replace the text in the new feature directly using the configuration in <code>/resource/l10n/zh-CN.toml</code></li><li>If there is new text in the new feature, pull the new text into <code>zh-CN.toml</code></li></ol><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>If you don't understand Chinese at all, you can translate the text using Google or DeepL Translate, and specify in the Pull Request, we will revise the Chinese translation after you add the English translation</p></div><ol start="3"><li>After the Pull Request has been merged, you can go to <a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer">Crowdin Platform</a> to contribute translations of the new text</li></ol>',6),r=[l];function i(s,c,d,h,u,p){return o(),t("div",null,r)}var m=e(a,[["render",i]]);export{f as __pageData,m as default};
|