Giter Club home page Giter Club logo

rad2-i18n's Introduction

RAD2-i18n

注意,此汉化为无授权汉化,不可用于商业用途。
这篇教程会教你如何向RAD2汉化进行贡献。
项目对应RAD2版本:v1.11

敬告:
相当大部分汉化内容来自于https://www.bilibili.com/read/cv21811913/,请尊重原汉化作者。
本项目翻译预览请见https://mortarhq.github.io/rad2-i18n/

使用的IDE

首先,需要你下载VSCode,你可以选择下载user版本与system版本,推荐下载user版本。

推荐的插件配置

在完成使用的IDE后,你需要安装i18n Ally插件来方便进行对比。

安装项目

首先,你的电脑需要具有node.js环境,你可以到官网进行下载安装。 这边推荐使用第三方node管理工具来安装node.js,你可以在node.js官网找到推荐的三方管理工具,个人推荐使用nvs

在你完成node环境安装后,你需要使用vscode创建并打开一个文件夹,然后输入

# 克隆项目文件
git clone https://github.com/landminehq/rad2-i18n.git
# 进入项目文件
cd rad2-i18n
# 安装软件包
npm install

此时已经完成了项目的安装,当然实际上你并不需要安装node.js和插件等任何环境。
这里仅提供一种可行的方式,主要是借助vue的生态环境来快速进行本地化操作。

项目的几种启动模式

你可以选择一下的三种模式进行开发

  • [翻译模式]

    翻译模式 能够以最高的效率运行并进行汉化翻译,如果你是为了贡献本地化,请选择此模式。

    # 编译并运行 翻译模式
    npm run start
  • [预览模式]

    预览模式 能够预览到发布效果,如果你只是想看看项目最终部署到github-pages上的效果,请选择此模式。

    # 编译并运行 预览模式
    npm run preview
  • [开发模式]

    开发模式 能够对web ui以及daemon进行实时更新,如果你需要修改web ui或者daemon逻辑,请选择此模式。

    # 编译并运行 开发模式
    npm run dev

如何贡献

你可以直接修改项目中的

src/ftbqkeys/kubejs/assets/kubejs/lang/zh_cn.json

语言文件,也可以启动项目的实时对比功能。
更推荐你启动项目之后在网页上进行人工翻译。

你所操作编辑的任何内容都会实时更新到语言文件中。
这意味着你可以随时提交PR,如何提交PR请自行搜索,这里不再赘述。

web ui与RAD2-i18n中的web ui是一样的,不过非开发环境不允许进行词条更新。

rad2-i18n's People

Contributors

landminehq avatar 438292575 avatar gayaqi avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

438292575 gayaqi

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.