InternalDatabase Mode
InternalDatabase Mode
When opting to use the InternalDatabase Mode, you can manually add languages to the LanguageManager
component, and below that, you can define a list of TextEntries
by adding the translations for each TextID
along with the corresponding LanguageID
.
You also have the flexibility to edit these files externally by exporting a base model in your desired format. You can modify the file in external applications like Google Sheets or Excel (in the case of CSV files).
We also offer a free editing tool specifically built for the LanguageSystem Pro format, featuring a user-friendly layout that supports CSV, JSON, and XML formats. The tool makes it easy to edit your language files, and you can export them as a global file for use in InternalDatabase and GlobalExternal modes, or as separate files per language for ExternalFiles mode. For more details, check the LanguageManagerEditor section.
Adding a Language:
Open the
Languages
list in theLanguageManager
component.Click the Add button.
Define the LanguageID (e.g.,
es
,en
,pt-br
,pt-pt
, etc.), the LanguageTitle, and optionally set a LanguageIcon.
Adding a Text Entry:
Open the
TextEntries
list and click Add to create a new text entry.For each
TextEntry
, define a unique TextID to identify the text.In the Translations list, add the LanguageID and the corresponding translation for each language.
Once you have configured the language and TextID
, you can:
Add the
WarpText
component to anyText
orTextMeshProUGUI
object.In the
TextID
field of theWarpText
component, input theTextID
that you want the text to display.
When the game starts, the LanguageSystem Pro will automatically update the text in real time based on the selected language.
Make sure to follow this process for all texts that you want to be translated within your game.
Reminder: LanguageManagerEditor Tool
We offer a free LanguageManagerEditor tool, specifically designed for the LanguageSystem Pro format. It has a friendly interface and supports easy import, editing, and export of files in CSV, JSON, and XML formats. You can use this tool to export global files for the InternalDatabase and GlobalExternal modes or individual files per language for ExternalFiles mode.
For more details on using this editor, see the LanguageManagerEditor section.
Last updated