Introduction
-
Localization.csvis a file found in the enlisted game files -
It is responsible for displaying the correct text on UI according to the language selected by the user
-
When a text value is displayed, a game script will attempt to find a match in localization.csv.
-
If a match is found, the script returns an array of values and the game will display the value according to language selected by the user.
-
For example,
"wave_briefing/welcome"will display asWelcomein English,欢迎in Chinese, andдобро пожаловатьin Russian.
Problem
- Currently, custom localization.csv is not supported
- The path for localization.csv is hard-coded in a DaScript file, which is not possible to be modified
Suggestion
-
I suggest that the developers can add an option for modders to include their localization.csv
-
Only a merger and a validator (for the custom Comma Separated Values file) are needed in the game script to recognize and use custom CSV.
-
ModsPacker.exe needed to be updated to also pack CSV files