Skip to main content

File Structures and Other Configurable Items

Last Updated Time: 09/07/2023

File Directory Structure​

text

​ |---- en

​ ||--- xxx.idres

​ ||--- textfiles.ini

​ |---- zh_cn

​ ||--- xxx.idres

​ || --- textfiles.ini

​ |---- error.txt

Folder Descriptions​

NameDescription
textRoot directory of configuration files, storage files and translation output files.
enEnglish configuration files and English translation storage files.
zh_cnChinese configuration files and Chinese translation storage files.

File Descriptions​

SuffixDescription
textfiles.iniString table (.idres) management file, including all string table files (For details on configuration formats, please refer to File Content Formats).
xxx.idresString table file, used to store Key-Text (source string-target string) key-value pairs (For details on configuration formats, please refer to File Content Formats).
There can be multiple .idres files to store the translations of different modules, which is convenient for later maintenance, management and search.
The translation of the game DLC can be stored in an independent .idres file.
xxx.txtLog output.

Special File Descriptions​

NameDescription
auto.idresAll legal source strings and target strings found after selecting the translation directory (auto-generated).
error.txtAll illegal source strings and output file formats of error logs found after selecting the translation directory.
Keys starting with special characters such as 0-9 , _ * . ' or Chinese are illegal source strings that cannot be added successfully when added manually.

File Content Formats​

textfiles.ini​

2023-07-19_142557

No.Name
1Configuration
2Incremental Number
3File Name

xxx.idres​

2023-07-19_143018

No.Name
1Key
2Text

error.txt​

2023-07-19_155810

No.Name
1File Path
2Error Location
3Error Key Value

Configuring File Directory Structure​

Right-click in the Folder Structure List of the Project panel to pop up a Shortcut Menu. Select Open Resource Directory to open the project's current location folder.

2023-07-18_161248

Create a new folder anywhere (The folder name is not limited here).

2023-07-18_162400

Create en and zh_cn folders under the new folder.

2023-07-18_162808

Create textfiles.ini files under the en and zh_cn folders respectively (Please refer to File Content Formats for details on the .ini file format).

2023-07-18_163440

Configuring Game Text Localization Paths​

Click Config (Menu Bar) -> Project Settings to open the Project Settings window. Select the General Project Settings tab to display the right panel. Configure the language and path respectively under the Language property.

2023-07-18_145042

NameDescription
LanguageSelect the target string language which is en by default.
Localization PathSelect the project string table path which is the text folder under the resource directory by default.

Note: If it is not saved, a prompt window will pop up.

2023-07-18_145720