By forknbeans
This information focuses on the English translation of Sands of Salzaar and demonstrates one methodology for translating present Excel-based mods from Chinese language to some other language.
Introduction
This information focuses on the English translation of Sands of Salzaar and demonstrates one methodology for translating present Excel-based mods from Chinese language to some other language with out affecting the Chinese language language setting. In case you’d favor to make use of the Chinese language language setting as an alternative of English, use the tchinese recordsdata and directories as an alternative of the english ones within the included steps.
A number of guide steps are included because of the information recordsdata being positioned in one other mod. This information shouldn’t be adopted when creating or sustaining a standalone mod.
Mod necessities
With a purpose to translate a mod, it should both be launched as open supply or the creator should present the required Excel recordsdata or information. A mod may be decided to be open supply if the Open supply button is seen when viewing a mod from the in-game mod browsers.
Create a brand new mod
Ranging from the primary menu:
- Press Sport Mods to open a popup window.
- Press Develop Mods to navigate to the Sands of Salzaar Mod Editor window.
- Press New Venture.
- Choose Easy Mod Venture for Venture Sort, enter your venture identify and listing, and press Affirm.
- Press Construct.
Add required mods
Ranging from the Sands of Salzaar Mod Editor window:
- Press Venture Configuration.
- Press the Required DLC/mods button on the Venture Configuration popup window.
- Choose every mod to be translated and press Save.
Take away default recordsdata
Ranging from the Sands of Salzaar Mod Editor window:
- Press Open Venture Listing to open your translation mod’s root listing. Depart this window open as it will likely be wanted all through the remainder of the information.
- Delete the next recordsdata:
- Excel\C传承.xlsx
- Excel\J剧情内文字翻译.xlsx
- Excel\Localization\english\J剧情内文字翻译_hotfix.xlsx
- Excel\Localization\tchinese\J剧情内文字翻译_hotfix.xlsx
- valuebundle\INDEX_Source.xml
- valuebundle\TranslateTask.xlsx
- valuebundle\TranslateTaskTemplate.xlsx
- Delete every line between <root…> and </root> within the following recordsdata:
- valuebundle\default_english.xml
- valuebundle\default_tchinese.xml
- valuebundle\default.xml
- valuebundle\Index.xml
Add recordsdata to be translated
- Browse to the workshop mod’s root listing by urgent the Open supply button when viewing a mod from the in-game mod browser. This may also be completed by navigating to:
- X:\\…\Steam\steamapps\workshop\content material\1094520\<MOD_ID>
- Within the SourceProject\Excel listing:
- Copy every .xlsx file to be translated and paste them into your new mod’s Excel\Localization\english listing.
- Append _hotfix to every pasted file. For instance:
- Previous:
- C传承_Legacy.xlsx
- New:
- C传承_Legacy_hotfix.xlsx
- Previous:
- Within the SourceProject\valuebundle listing:
- Within the default.xml file:
- Copy every <embody file…/> line containing a filename to be translated and paste them between <root…> and </root> in your translation mod’s valuebundle\default_english.xml file. Don’t copy the traces for recordsdata that won’t be translated.
- Append _hotfix to the filename for every pasted line. For instance:
- Previous:
- <embody file=”C传承_Legacy.xlsx”/>
- New:
- <embody file=”C传承_Legacy_hotfix.xlsx”/>
- Previous:
- Prepend Localization/english/ to the filename for every pasted line. For instance:
- Previous:
- <embody file=”C传承_Legacy_hotfix.xlsx”/>
- New:
- <embody file=”Localization/english/C传承_Legacy_hotfix.xlsx”/>
- Previous:
- Within the INDEX.xml file:
- Copy every <convert reg…/> line containing a filename to be translated and paste them between <root…> and </root> in your translation mod’s valuebundle\Index.xml file. Don’t copy the traces for recordsdata that won’t be translated.
- Append _hotfix to the filename for every pasted line. For instance:
- Previous:
- <convert reg=”…” from=”C传承_Legacy.xlsx”/>
- New:
- <convert reg=”…” from=”C传承_Legacy_hotfix.xlsx”/>
- Previous:
- Prepend Localization/english/ to the filename for every pasted line. For instance:
- Previous:
- <convert reg=”…” from=”C传承_Legacy_hotfix.xlsx”/>
- New:
- <convert reg=”…” from=”Localization/english/C传承_Legacy_hotfix.xlsx”/>
- Previous:
- Within the default.xml file:
- Navigate to the Sands of Salzaar Mod Editor window and press Construct to make sure that adjustments have been made accurately.
Translate recordsdata
Beginning out of your translation mod’s root listing:
- For every .xlsx file within the Excel\Localization\english listing:
- Open the file.
- Ignore the primary column for any additional steps because it ought to at all times be an ID and may by no means be deleted or translated.
- Delete any columns (on the prime) that are not going to be translated.
- Copy and paste every remaining column subsequent to itself. For instance:
- Previous:
- 显示名称_DisplayName
- 描述_Description
- New:
- 显示名称_DisplayName
- 显示名称_DisplayName
- 描述_Description
- 描述_Description
- Append (Origin) to the leftmost column for every set of columns. For instance:
- Previous:
- 显示名称_DisplayName
- 显示名称_DisplayName
- 描述_Description
- 描述_Description
- New:
- 显示名称_DisplayName(Origin)
- 显示名称_DisplayName
- 描述_Description(Origin)
- 描述_Description
- Translations needs to be made to the rightmost column for every set of columns. These are the columns that weren’t appended with (Origin).
- Navigate to the Sands of Salzaar Mod Editor window and press Construct to make sure that adjustments have been made accurately.
- Press one of many Debug icons/buttons, allow the bottom mod and translation mod, and play the sport to shortly take a look at adjustments.