-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
# CardSurvival-Localization | ||
# CardSurvival-Localization | ||
|
||
A quick and dirty utility to extract localization data from ModLoader based mods. | ||
|
||
# Usage: | ||
Run the exe, passing in the folder, using wild cards. | ||
|
||
|Arguments|Description| | ||
|--|--| | ||
|File Pattern|Use the full with *.json. For example: "SomeModLoaderMod\*.json"| | ||
|Output File|If not provided, will output to the console. Otherwise will write to the path specified| | ||
|
||
# Output: | ||
Creates a CSV output text file with the following columns: | ||
Localization Key | ||
Empty | ||
The DefaultText for that key. | ||
|
||
Example: | ||
Bp_Hail_IceCoolBall.LogText,,冰晶球完成了 | ||
|
||
An easy way to translate is using Google Sheets with the translate function. | ||
For example, translating Chinese to English: ```=GOOGLETRANSLATE(C1,"zh","en")``` | ||
|
||
# Todo: | ||
* It should be changed to use tabs instead of commas since the text can have commas. | ||
* It needs to duplicates, or at least warn about them. There are mods which have the same key multiple times. Maybe just by need of the ModLoader format? | ||
|