潜行者2 本地化 JSON-CSV 转换器

潜行者2 本地化 JSON-CSV 转换器

一个用于在JSON和CSV格式之间转换《S.T.A.L.K.E.R. 2:切尔诺贝利之心》本地化文件的简单工具。

[center][size=4][b]概述[/b][/size]

[left]此工具帮助你在《S.T.A.L.K.E.R. 2:切尔诺贝利之心》的两种工作流之间转移本地化进度。[/left]

[left]· [url=https://fmodel.app/]FModel[/url] + [url=https://github.com/akintos/UnrealLocres]UnrealLocres[/url] / [url=https://github.com/AcTePuKc/LocresStudio]LocresStudio[/url] + [url=https://www.nexusmods.com/stalker2heartofchornobyl/mods/374]StalkerPakTool[/url] — 适用于通过 CSV 文件导入和导出本地化数据的工作流。[/left]

[left]· [url=https://www.nexusmods.com/stalker2heartofchornobyl/mods/2652]Localization Workbench[/url] — 适用于以 JSON 格式处理本地化数据。[/left]

[left]切换工具时不必从头开始,你可以在 CSV 和 JSON 之间转换现有的本地化文件,从而更轻松地将翻译进度从一种工作流迁移到另一种。[/left]

[size=4][b]功能[/b][/size]

[left]· CSV → JSON:将 CSV 本地化文件转换为可供 Localization Workbench 使用的格式。[/left] [left]· JSON → CSV:将 JSON 本地化文件转换为可供基于 CSV 的工作流使用的格式。[/left] [left]· 自动键前缀处理:根据需要添加或移除 ST_S2BaseGameLocalization/ 前缀。[/left] [left]· 批量转换:将多个 JSON 或 CSV 文件拖放到可执行文件上。[/left] [left]· 保留现有文本:支持 XML 标签、空白字符和多行字符串。[/left] [left]· 安全输出:转换后的文件与原始文件保存在同一位置,并带有 _converted 后缀。原始文件不会被覆盖。[/left]

[size=4][b]使用方法[/b][/size]

[left]1. 使用 [url=https://github.com/akintos/UnrealLocres]UnrealLocres[/url] / [url=https://github.com/AcTePuKc/LocresStudio]LocresStudio[/url] 将你的 .locres 导出为 .csv,或从 [url=https://www.nexusmods.com/stalker2heartofchornobyl/mods/2652]Localization Workbench[/url] 准备你的 JSON 文件。[/left] [left]2. 将文件拖放到 Stalker2_JSON-CSV_Converter.exe 上。[/left] [left]3. 在另一种工作流中使用转换后的文件。[/left] [left]4. 从现有的本地化进度继续工作,而不必从头重新构建一切。[/left]

[size=4][b]注意事项[/b][/size]

[left]· 输入文件应使用 UTF-8 编码。[/left] [left]· CSV 文件必须使用 key 和 source 作为列标题。[/left] [left]· JSON 文件必须包含本地化 ID 到文本字符串的映射。[/left] [/center] [/left]