Giter VIP home page Giter VIP logo

Comments (2)

cuiyueshuai avatar cuiyueshuai commented on June 8, 2024 2

@huchaolin 你应该要按照文档说明来初始化整个项目,从而开始提取操作,你的配置文件:

{
  "kiwiDir": "./i18n/lang",
  "srcLang": "zh-CN",
  "distLangs": [
    "en-US",
    "zh-HK"
  ],
  "googleApiKey": "",
  "baiduApiKey": {
    "appId": "请使用自己的",
    "appKey": "请使用自己的"
  },
  "baiduLangMap": {
    "en-US": "en",
    "zh-HK": "cht"
  },
  "translateOptions": {
    "concurrentLimit": 10,
    "requestOptions": {}
  },
  "defaultTranslateKeyApi": "Pinyin",
  "importI18N": "import I18N from '@i18n';",
  "ignoreDir": ["./i18n"],
  "ignoreFile": ""

明显改动太大,kiwiDir明显不正确,但是引起你这个的BUG原因是由于你设置ignoreFile为”“,造成内部逻辑扫描路径错误,未能正确扫描src,而变成扫描你配置的”“字符串路径,你应该删除这个配置文件,重新使用init生成配置文件,然后开始提取操作,或者ignoreFile使用文档说明的默认配置[], 并且kiwi默认路径也应该使用默认的

from kiwi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.