Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
OptimizedTranslation๏
Inherits: Translation < Resource < RefCounted < Object
An optimized translation.
Description๏
An optimized translation. Uses real-time compressed translations, which results in very small dictionaries.
This class does not store the untranslated strings for optimization purposes. Therefore, Translation.get_message_list() always returns an empty array, and Translation.get_message_count() always returns 0.
Methods๏
void |
generate(from: Translation) |
Method Descriptions๏
void generate(from: Translation) ๐
Generates and sets an optimized translation from the given Translation resource.
Note: Messages in from should not use context or plural forms.
Note: This method is intended to be used in the editor. It does nothing when called from an exported project.