Skip to content

RimWorld-zh/RimTrans

Repository files navigation

RimTrans

RimTrans-version RimTrans-downloads RimWorld-version license-mit

Features

  • Translator: parse files of Mods, extract language files, edit and publish. WIP
  • Modder: A tool to create and edit Defs xml files for modding. TODO
  • Translation Workshop: Players subscribe translation for mods from cloud. TODO

Development

Structure

  • app: The desktop GUI app, based on Vue.js and Electron.js
  • Core: The RimWorld Core files, includes Defs and English Language
  • extractor: The core low-level library
  • i18n: The i18n data for RimTrans
  • Reflection: The dotnet core project, for get type info from assemblies (.dll files)
  • resources: Design assets

Environment

  • dotnet core sdk >=2.2.0
  • node.js >=12.0.0
  • yarn >=1.17.0
  • lerna >=3.15.0

Projects development

# Install all dependencies for all projects
lerna bootstrap

# Clean all build output directories
lerna run clean

# Build all projects
lerna run build

# Run all tests
lerna run test

App development

cd app

# Compiles and hot-reloads
# The app will run in development mode and restart when you edit source files
yarn serve:renderer
yarn serve:electron