i18n_update_loader()
The i18n_update_loader()
function is used to update the loader function used by the GM-I18n system to load the initial locale files.
This function can only be used after the i18n_create()
function is called.
Syntax
Usage
i18n_update_loader([use_delta_time], [i18n]);
Parameters
Name | Type | Default | Description |
---|---|---|---|
use_delta_time | Boolean | false | Use delta time to update the loader. |
i18n | Boolean | I18n | false | The i18n struct reference, or leave it empty to use the global i18n struct. |
Returns
Void
Examples
Create Event
// assume the system is initialized on global variable
This function is only used if you're importing the text translation through JSON files.
You need to call this function in event that updated every step. I recommend to use
You need to call this function in event that updated every step. I recommend to use
Step Event
for this.Table of Contents