Giter VIP home page Giter VIP logo

treasure-of-nadia-v1.0112-translate-chs's Introduction

Treasure-of-Nadia-v1.0112-汉化

Treasure of Nadia v1.0112版本的汉化程序,文档

目前只适用于v1.0112版本。将transpacakge.json放入根目录即可。

不能完美适用于steam版,这里给出汉化流程,如有兴趣可自己操作。

steam版本问题

  1. (2021/12/13 15点)

    steam版本不是最终v1.0112版,是比较落后的版本。

    ----------我看到有关游戏版本更新的讨论,引用如下--------------

    Kamote 21 小时以前 Any updates? Will there be an update soon?

    tictac 16 小时以前

    The final version was released in their Patreon site. The steam version will be updated to the final version soon with steam special bonus content.

程序流程

  • 使用正则从www/data 获取台词,形成map
  • 翻译map,百度API有频率和大小限制
  • 美化map加空格,以使台词可以换行)
  • 保存到本地*.json.txt
  • 相同正则替换www/data为中文

translate.js

获取www/data*.json中的台词并翻译,保存到map文件夹中

translateItem.js

获取www/dataitems.json中的物品名并翻译,保存到itemMap文件夹中

translateF.js

根据*.json.txt(具有某一特征的翻译map)直接对www/data *.json进行替换

需要手动提取出特征文件并手动翻译形成*.txt ,由程序进行美化(添加空格保证能够换行)

为了保证安全性,一定要在translate.jstranslateItem.js替换后再执行

注意

由于正则并不完备,需要手动更改保持原英文,以避免报错

机翻,需要润色

并不是解包翻译,翻译并不完全,属于歪门邪道 :(

个人所做的修正和润色记录在修正润色说明.txt

treasure-of-nadia-v1.0112-translate-chs's People

Contributors

jiangfengri avatar

Watchers

James Cloos avatar

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.