godot/doc/classes/OptimizedTranslation.xml

22 lines
907 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="OptimizedTranslation" inherits="Translation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
An optimized translation, used by default for CSV Translations.
</brief_description>
<description>
An optimized translation, used by default for CSV Translations. Uses real-time compressed translations, which results in very small dictionaries.
</description>
<tutorials>
</tutorials>
<methods>
<method name="generate">
<return type="void" />
<param index="0" name="from" type="Translation" />
<description>
Generates and sets an optimized translation from the given [Translation] resource.
[b]Note:[/b] This method is intended to be used in the editor. It does nothing when called from an exported project.
</description>
</method>
</methods>
</class>