• The software is perfect that I can't wait to kick off on it. But there's some problem while I was trying to add Chinese to the language set. Is it ok to just add a new folder to /public/language? Every time I do that, even if I just simply copy a folder from the existing ones and modify the language.json, it throws an error and the process goes off. I guess it's not that easy?

  • NodeBB

    What error are you getting?

  • This post is deleted!

  • @baris
    (function (exports, require, module, __filename, __dirname) {
    SyntaxError: Unexpected token ILLEGAL
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at /Users/bill/node/NodeBB/public/src/translator.js:189:66
    at /Users/bill/node/NodeBB/public/src/utils.js:56:9
    at Object.oncomplete (fs.js:107:15)

    Just like this...I've fixed it. Mac automatically adds this file into the folder and in language.js it reads every file in the folder...

  • NodeBB

    We should add some checks just to load the json files.

  • GNU/Linux Admin

    A Chinese language pack! YESSSSS

    As a westernized Hong Konger, I can barely write Chinese, let alone type it. Please submit the completed pack back to NodeBB so that everybody can enjoy it!

  • @julian working on it!

  • GNU/Linux Admin

    Traditional? :x (Just kidding, both are needed anyway :D)

Suggested Topics

| | |

© 2014 – 2022 NodeBB, Inc. — Made in Canada.