Skip to main content

Text Localization Editor

Last Updated Time: 09/07/2023

Overview

Text Localization Editor is used to modify text entries and map the text content of all controls in the UI.

Opening the Text Localization Editor

Click Tool (Menu Bar) -> Text Localization to open the Text Localization Editor.

2023-07-18_140250

The interface is shown below.

2023-07-18_141426

No.NameDescription
1Window NameThe name of the current window.
2Tool BarTo add, delete, modify, format translation lines and etc.
3Filter BarSelect the target language, and filter the state of the translation line.
4Main WindowDisplay translation name, state and etc.
5Path Selection BarSelect the resource directory of the string to be translated.
6SearchPrecise matching of folders or keywords.

Tool Bar

Provide convenient buttons for basic features such as adding, deleting, and modifying in the Tool Bar.

2023-07-19_110604

NameDescription
CreateCreate a translation file each in the en and zh_cn folder.
AddAdd source strings except for illegal source strings.
RemoveRemove current source data.
SaveSave all current modifications and perform IO processing.
CollectCollect untranslated texts from scripts and UI.
ConflictRemove conflicting data lines.
FormatterFormat English translations, display all the first letters in uppercase, and pop up the translation lines without English translations.

Main Window

All translation lines will be displayed in the Main Window of the Text Localization window.

2023-07-18_171005

No.NameDescription
1KeySource strings.
2Source Language FileString tables where the Source Language translations are located.
3Source Language TextDisplay the target strings for the selection in the Source Language.
4Translated Language FileString tables where the target translations are located.
5Translated Language TextDisplay the target strings for the selection in the Translated Language.
6StateThe state of the current translation line.

Filter Bar

Filter Drop-down Box

Use the Filter Drop-down Box to filter and screen all the queried translation lines.

2023-07-18_165259

No.NameDescription
1Source LanguageSelect the language to be present in the Source Language text
If the selections in both the Source Language and the Translated Language are the same, only the text in Source Language will be displayed.
2Translated LanguageSelect the language to be present in the Translated Language text.
3Not Completed CountCount the number of incomplete translation lines.
4Conflict CountCount the number of conflicting translation lines.
5Match State FilterFilter out translation lines that are not in this state.

Language Selection (Source/Translated Language)

2023-07-18_170639

No.NameDescription
1enThe target translation is English.
2zh_cnThe target translation is Chinese.

Matching States

The matching state is the matching result of the current translation line, and you can view all the translation lines in a certain state by filtering the states.

2023-07-18_170724

No.NameDescription
1MatchThere are complete en and zh_cn translation resource files, and no duplicate source strings and target strings.
2ConflictExist the same source string or target string.
3Not CompletedThe content of the string table is incomplete, missing at least one translation of en or zh_cn.

Path Selection Bar

2023-07-18_143125

No.NameDescription
1Editor Text LocalizationSwitch to the directory %editor directory%\unique_editor\res_editor\text and scan.
2Game Text LocalizationScan the directory where the current project is located, customize the control text in game development.
3Plugin Text LocalizationThird-party plugin control text (If the Engine does not have a plugin installed, it will not be displayed).
4Other Text LocalizationOptional path.

Folder Filtering

The folder where the translations are stored can be selected in the Option Box to filter entries more accurately.

2023-07-18_173202

Keyword Searching

Enter a pre-query keyword in the Text Box after Key or Text, and real-time character matching will be performed after input.

Note: The letters here are case-sensitive.

2023-07-18_173203

Editing Translations

Adding Translations

Method One

Right-click any space in the Main Window of the Text Localization window to open the Shortcut Menu. Select Add Text, and the Add Text Item window will pop up. Select the file path, fill in the newly added source string in Key, and the target string corresponding to the newly added source string in Text. Click the Add button to complete the addition.

2023-07-19_130917

Method Two

Click the Add button in the Tool Bar of the Text Localization window to open the Add Text Item window. Select the file path, fill in the newly added source string in Key, and the target string corresponding to the newly added source string in Text. Click the Add button to complete the addition.

2023-07-19_133318

Method Three

Create a .idres file in en and zh_cn in the pre-configuration file respectively.

2023-07-19_135026

Add .idres file information in the textfiles.ini file, and auto.idres will be automatically generated.

2023-07-19_135747

Modifying Translations

Select any valid translation line. Double-click the translation to be modified under Source Language Text or Translated Language Text, and the Edit window will pop up. Click OK after modification.

Note: It is necessary to click the Save button in the Tool Bar to save the modification.

2023-07-19_140833

Deleting Translations

Method One

Right-click any valid translation line to open a Shortcut Menu. Select Delete Text to delete it.

2023-07-19_141312

Method Two

Select the translation line to be deleted, and click the Remove button in the Tool Bar to delete it.

2023-07-19_141616

Method Three

Delete the corresponding lines in the .idres configuration file.

2023-07-19_142159