1 Star 0 Fork 0

自在侯 / Office-Tool-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Office Tool Plus Documentation

Office Tool Plus repository: Office Tool

Help with translation

git clone https://github.com/YerongAI/Office-Tool-docs.git

cd Office-Tool-docs

yarn install

# Init local website.
yarn docs:dev

How to translate?

Make a folder and named to your culture, like de-de.

In the docs folder, copy activate, deploy, others and start folders to the new folder, copy README.md too.

Then translate all the .md files to your language.

Configure components

For more information, see Internationalization.

Go to docs -> .vuepress folder, open config.js, configure locales like that:

// The key is the path for the locale to be nested under.
'/de-de/': {
    lang: 'de-DE', // this will be set as the lang attribute on <html>
    title: 'Office Tool Plus Docs', // Translate it.
    description: 'Office Tool Plus documentation.' // Translate it.
}

Change themeConfig -> locales like that:

'/de-de/': {
    selectText: 'Languages', // Translate it.
    label: 'English', // Set to your language.
    editLinkText: 'Edit this page on GitHub', // Translate it.
    serviceWorker: {
        updatePopup: {
            message: "New content is available.", // Translate it.
            buttonText: "Refresh" // Translate it.
        }
    },
    nav: [
        // Remember to set the culture (ll-cc), and translate the text attributes.
        { text: 'Start', link: '/de-de/start/' },
        { text: 'Deploy', link: '/de-de/deploy/' },
        { text: 'Activate', link: '/de-de/activate/' },
        { text: 'More', link: '/de-de/others/toolbox' },
        { text: 'Blog (Chinese)', link: 'https://www.coolhub.top' },
        {
            text: 'Group', items: [
                { text: 'Telegram', link: 'https://otp.landian.vip/grouplink/telegram.html' }
            ]
        }
    ],
    sidebar: {
        // Remember to set the culture (ll-cc).
        '/de-de/start/': [
            '',
            'download',
            'requirement'
        ],
        '/de-de/deploy/': [
            '',
            'deploy',
            'create-iso',
            'faq'
        ],
        '/de-de/activate/': [
            '',
            'faq'
        ],
        '/de-de/others/': [
            'toolbox',
            'converter',
            ''
        ],
        '/de-de/': [
            ''
        ]
    }
},

空文件

简介

Official Office Tool Plus documentation. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/thisweb/Office-Tool-docs.git
git@gitee.com:thisweb/Office-Tool-docs.git
thisweb
Office-Tool-docs
Office-Tool-docs
main

搜索帮助