{"version":3,"sources":["webpack:///./docs/zh/guide/i18n.md"],"names":["makeShortcode","name","MDXDefaultShortcode","props","console","warn","layoutProps","MDXLayout","MDXContent","components","isMDXComponent","hot","module"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;AACA;AACA;AACA;AAEA;;AAGA,IAAMA,aAAa,GAAG,SAAhBA,aAAgB,CAAAC,IAAI;AAAA,SAAI,SAASC,mBAAT,CAA6BC,KAA7B,EAAoC;AAChEC,WAAO,CAACC,IAAR,CAAa,eAAeJ,IAAf,GAAsB,yEAAnC;AACA,WAAO,iEAASE,KAAT,CAAP;AACD,GAHyB;AAAA,CAA1B;;AAKA,IAAMG,WAAW,GAAG,EAApB;AAGA,IAAMC,SAAS,GAAG,SAAlB;AACe,SAASC,UAAT,OAGZ;AAAA,MAFDC,UAEC,QAFDA,UAEC;AAAA,MADEN,KACF;;AACD,SAAO,0DAAC,SAAD,eAAeG,WAAf,EAAgCH,KAAhC;AAAuC,cAAU,EAAEM,UAAnD;AAA+D,WAAO,EAAC;AAAvE,MACL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,oCAGY;AAAG,cAAU,EAAC;AAAd,KAAuB;AAC/B,YAAQ,gDADuB;AAE/B,mBAAe,IAFgB;AAG/B,iBAAa;AAHkB,GAAvB,OAHZ,CADK,EASL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,gDAGc;AAAG,cAAU,EAAC;AAAd,KAAuB;AACjC,YAAQ,kEADyB;AAEjC,mBAAe,IAFkB;AAGjC,iBAAa;AAHoB,GAAvB,OAHd,CATK,EAiBL,iOAjBK,EAkBL,iEAAS;AACP,iBAAa,mBADN;AAEP,qBAAiB;AAFV,GAAT,EAGG;AAAK,cAAU,EAAC;AAAhB,KAA0B;AACzB,iBAAa;AADY,GAA1B,GAEE;AAAM,cAAU,EAAC;AAAjB,KAA2B;AAC1B,iBAAa;AADa,GAA3B,sOAFF,CAHH,CAlB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;AAmYD;AAED;AACAD,UAAU,CAACE,cAAX,GAA4B,IAA5B;AAEAF,UAAU,GAAGG,4DAAG,CAACC,MAAD,CAAH,CAAYJ,UAAZ,CAAb;;;;;;;;;;0BArZMR,a;0BAKAM,W;0BAGAC,S;0BACkBC,U","file":"zh/guide/i18n.md.server-bundle.js","sourcesContent":["\nimport { hot } from 'react-hot-loader'; \nimport '@temp//rhlConfig';\nimport React from 'react';\nimport { mdx } from '@mdx-js/react'; \n\n/* @jsx mdx */\n\n\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n  console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\")\n  return <div {...props}/>\n};\n\nconst layoutProps = {\n  \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n  components,\n  ...props\n}) {\n  return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n    <h1 {...{\n      \"className\": \"__internal\",\n      \"id\": \"多语言支持\"\n    }}>{`多语言支持`}<a parentName=\"h1\" {...{\n        \"href\": \"#%E5%A4%9A%E8%AF%AD%E8%A8%80%E6%94%AF%E6%8C%81\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h1>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"站点多语言配置\"\n    }}>{`站点多语言配置`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E7%AB%99%E7%82%B9%E5%A4%9A%E8%AF%AD%E8%A8%80%E9%85%8D%E7%BD%AE\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`要启用 RcPress 的多语言支持，首先需要使用如下的文件结构：`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}>{`docs\n├─ README.md\n├─ foo.md\n├─ nested\n│  └─ README.md\n└─ zh\n   ├─ README.md\n   ├─ foo.md\n   └─ nested\n      └─ README.md`}</code></pre></div>\n    <p>{`然后，在 `}<inlineCode parentName=\"p\">{`.rcpress/config.js`}</inlineCode>{` 中提供 `}<inlineCode parentName=\"p\">{`locales`}</inlineCode>{` 选项：`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"js\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-js\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-js\"\n        }}>{`module`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`.`}</span>{`exports `}<span parentName=\"code\" {...{\n            \"className\": \"token operator\"\n          }}>{`=`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n  locales`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n    `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 键名是该语言所属的子路径`}</span>{`\n    `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 作为特例，默认语言可以使用 '/' 作为其路径。`}</span>{`\n    `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n      lang`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'en-US'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 将会被设置为 <html> 的 lang 属性`}</span>{`\n      title`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'RcPress'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n      description`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{`\n        `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'A static docs generator based on Ant Design and GatsbyJs'`}</span>{`\n    `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n    `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/zh/'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n      lang`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'zh-CN'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n      title`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'RcPress'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n      description`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{`\n        `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'一个基于Ant Design 和 GatsbyJs 的静态文档生成器'`}</span>{`\n    `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`\n  `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`;`}</span></code></pre></div>\n    <p>{`如果一个语言没有声明 `}<inlineCode parentName=\"p\">{`title`}</inlineCode>{` 或者 `}<inlineCode parentName=\"p\">{`description`}</inlineCode>{`RcPress 将会尝试使用配置顶层的对应值。如果每个语言都声明了 `}<inlineCode parentName=\"p\">{`title`}</inlineCode>{` 和 `}<inlineCode parentName=\"p\">{`description`}</inlineCode>{`，则顶层的这两个值可以被省略。`}</p>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"默认主题多语言配置\"\n    }}>{`默认主题多语言配置`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E9%BB%98%E8%AE%A4%E4%B8%BB%E9%A2%98%E5%A4%9A%E8%AF%AD%E8%A8%80%E9%85%8D%E7%BD%AE\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`默认主题也内置了多语言支持，可以通过 `}<inlineCode parentName=\"p\">{`themeConfig.locales`}</inlineCode>{` 来配置。该选项接受同样的 `}<inlineCode parentName=\"p\">{`{ path: config }`}</inlineCode>{` 格式的值。每个语言除了可以配置一些站点中用到的文字之外，还可以拥有自己的 `}<a parentName=\"p\" {...{\n        \"href\": \"/zh/default-theme-config/#%E5%AF%BC%E8%88%AA%E6%A0%8F\"\n      }}>{`导航栏`}</a>{` 和 `}<a parentName=\"p\" {...{\n        \"href\": \"/zh/default-theme-config/#%E4%BE%A7%E8%BE%B9%E6%A0%8F\"\n      }}>{`侧边栏`}</a>{` 配置：`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"js\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-js\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-js\"\n        }}>{`module`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`.`}</span>{`exports `}<span parentName=\"code\" {...{\n            \"className\": \"token operator\"\n          }}>{`=`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n  locales`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n    `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`/* ... */`}</span>{`\n  `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  themeConfig`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n    locales`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n      `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n        selectText`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'Languages'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n        label`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'English'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n        editLinkText`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'Edit this page on GitHub'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n        nav`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{` text`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'Nested'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{` link`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/nested/'`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n        sidebar`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n          `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span>{`\n            `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`/* ... */`}</span>{`\n          `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n          `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/nested/'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span>{`\n            `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`/* ... */`}</span>{`\n          `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span>{`\n        `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`\n      `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n      `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/zh/'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n        `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 多语言下拉菜单的标题`}</span>{`\n        selectText`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'选择语言'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n        `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 该语言在下拉菜单中的标签`}</span>{`\n        label`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'简体中文'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n        `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 编辑链接文字`}</span>{`\n        editLinkText`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'在 GitHub 上编辑此页'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n        nav`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{` text`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'嵌套'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{` link`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/zh/nested/'`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n        sidebar`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n          `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/zh/'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span>{`\n            `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`/* ... */`}</span>{`\n          `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n          `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'/zh/nested/'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span>{`\n            `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`/* ... */`}</span>{`\n          `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span>{`\n        `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`\n      `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`\n    `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`\n  `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`;`}</span></code></pre></div>\n    </MDXLayout>;\n}\n\n;\nMDXContent.isMDXComponent = true;\n\nMDXContent = hot(module)(MDXContent);\n"],"sourceRoot":""}