All Projects → inkitter → pdx-ymltranslator

inkitter / pdx-ymltranslator

Licence: other
Paradox Interactive YML Translator

Programming Languages

C#
18002 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to pdx-ymltranslator

IronyModManager
Mod Manager for Paradox Games. Official Discord: https://discord.gg/t9JmY8KFrV
Stars: ✭ 188 (+944.44%)
Mutual labels:  stellaris, hearts-of-iron-4, paradox-interactive
Translate helper
A Java application to help to translate the localisation files of the Paradox games.
Stars: ✭ 23 (+27.78%)
Mutual labels:  stellaris, hearts-of-iron-4, paradox-interactive
hookey
Enables all the DLCs. Like Creamapi but just for linux and a subset of Paradox games.
Stars: ✭ 87 (+383.33%)
Mutual labels:  stellaris, hearts-of-iron-4
sketch-crowdin
Connect your Sketch and Crowdin projects together
Stars: ✭ 35 (+94.44%)
Mutual labels:  localization, translate
EzLocalization
Localize your flutter application quickly and easily.
Stars: ✭ 13 (-27.78%)
Mutual labels:  localization, translate
HoI4ModdingPythonScripts
Various useful Hearts of Iron 4 modding Python scripts
Stars: ✭ 23 (+27.78%)
Mutual labels:  hearts-of-iron-4, paradox-interactive
Flutter translate
Flutter Translate is a fully featured localization / internationalization (i18n) library for Flutter.
Stars: ✭ 245 (+1261.11%)
Mutual labels:  localization, translate
Fluent
Fluent — planning, spec and documentation
Stars: ✭ 818 (+4444.44%)
Mutual labels:  localization, translate
Angular L10n
An Angular library to translate texts, dates and numbers
Stars: ✭ 350 (+1844.44%)
Mutual labels:  localization, translate
react-translator-component
React language translation module for developing a multilingual project.
Stars: ✭ 13 (-27.78%)
Mutual labels:  localization, translate
learnrxjs
Русскоязычная документация RxJS
Stars: ✭ 20 (+11.11%)
Mutual labels:  localization, translate
React Intl Hooks
React hooks for internationalization without the hassle ⚛️🌍
Stars: ✭ 64 (+255.56%)
Mutual labels:  localization, translate
Stellaris mod
Paradox Interactive game Stellaris mod co-work
Stars: ✭ 37 (+105.56%)
Mutual labels:  localization, stellaris
Texterify
The localization management system.
Stars: ✭ 37 (+105.56%)
Mutual labels:  localization, translate
React Translated
A dead simple way to add complex translations (i18n) in a React (DOM/Native) project 🌎🌍🌏
Stars: ✭ 176 (+877.78%)
Mutual labels:  localization, translate
Localize
Localize is a framework writed in swift to localize your projects easier improves i18n, including storyboards and strings.
Stars: ✭ 253 (+1305.56%)
Mutual labels:  localization
amagaki
A high-performance TypeScript static website generator for building highly-interactive websites. Localization inbuilt. Flexible URLs. Content managed and templates separated.
Stars: ✭ 33 (+83.33%)
Mutual labels:  localization
React Native Globalize
Internationalization (i18n) for React Native
Stars: ✭ 246 (+1266.67%)
Mutual labels:  localization
fluent-web
A web component for using projectfluent.org/
Stars: ✭ 41 (+127.78%)
Mutual labels:  localization
Localizr
Localizr is a Tool that handles and automates the generation of localization files for IOS and Android so there will be only one source of truth for all of your localization strings.
Stars: ✭ 33 (+83.33%)
Mutual labels:  localization

P社翻译文件YML翻译器(钢铁雄心4、群星)

Paradox Interactive YML Translator

Github:https://github.com/inkitter/pdx-ymltranslator

需要安装.NET Framework 4.5。

目前版本: V1.7.2 170510

  • old文件夹中是旧版的文本,因群星1.6加入了官中文本,分为 en-1.6 及 cn-1.6 两个。
  • eng是原版文本,可以放入 yml 文件。
  • chn文件夹是翻译之后的文本,目前程序会读取位于 chn\english*.yml 作为初始载入的已翻译文本,但是保存时候会自动生成并保存在 chn\english\ 和 chn\simp_chinese 两个目录里。且 chn\simp_chinese 目录中文件首行会变为 l_simp_chinese:。
  • 建议灵活使用 mklink 命令,诸如 mklink /j chn "chnLocal\localisation" 来建立文件夹链接,方便文本的翻译与统一。

更新内容

  1. 换行符默认存为LF("\n"),可选CRLF("\r\n")。

详细说明

  • 如果需要自定义词典,需将 ymldict.csv 文件放入程序目录。
  1. 窗口上半部分:左侧文件列表选择文件,右侧会显示文件内容。已经截取了变量名与文本内容,选择后会显示在下方文本框。
  2. 颜色标记:①可能要翻译的部分会标记浅蓝色。②如果启用了旧版对比,若新旧英文不同,则会将英文部分标记为橙色。③若为新增文本,则英文部分标记为浅蓝色。
  3. 下方文本框分为:原文、译文、百度API翻译参考 三个。
  4. 翻译时使用中间的文本框,翻译完成后点击Apply保存该行的翻译(快捷键 Ctrl + Enter)。全文件翻译完毕后务必点击Save按钮,否则翻译的内容不会被保存,当然可以翻译一行保存一次。。。
  5. Open Browser 按钮可以直接在默认浏览器打开google或baidu的网页翻译。按钮右侧选择哪个网页,默认baidu。
  6. Paste API text to Translate 按钮可以直接把API的参考文本复制到翻译文本框。
  7. 因为文本中使用了§这种奇怪的符号来标记字体颜色,输入符号比较麻烦,在右侧提供了Text Color功能,选择文本后点击相应的颜色会自动在文本上加入该颜色代码,不选择文本则只插入§R这种起始,需要在结束处再点击§! 来插入颜色结束。
  8. Open Original 与 Open Translated 用于使用默认文本编辑器打开YMl文件,方便验证文件。
  9. Save 按钮上方 下拉菜单用于选择旧版原文参考,用以对比新旧英文差异。复选框 Only Translated 用于只保存翻译过的文本,不保存未翻译的文本。勾选简/繁会进行强制转换后再保存,不勾选则不改变。
  10. Ctrl + ↓ 可以直接跳转到下一个可能需要翻译的行。
  11. Ctrl + ← 可以根据FROM文本框的内容再次查询API,并在下面的文本框显示。
  12. Save 按钮左边有个文本框,可以快速搜索打开的yml中某个原文中的单词,用于查找同词使翻译一致。输入搜索内容在文本框内按 Enter 即可。
  13. [1.7.1]增加了 Merge 与 CN 两个按钮,都是对文件列表中的全部文件进行操作的。 Merge 按钮会合并所有文件,并保存在 chn\english 中。 CN 按钮会将所有 english 的文件转存为 simp_chinese,并保存在 simp_chinese 文件夹。

for HOI4, Stellaris

可能用到的dos命令

rd eng /s /q
rd chn /s /q

md eng
copy "D:\SteamLibrary\steamapps\common\Hearts of Iron IV\localisation\*_l_english.yml" eng /Y

mklink /j chn "D:\git\HOI4_mod\chnLocal\localisation"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].