lazarus/docs/xml/lcl/defaulttranslator.xml
dsiders 8425924181 Docs: LCL/various. Updates topic formatting.
* Removes whitespace used to indent content.
* Wraps text at 80 characters and adds EOL for wrapped lines.
2022-08-12 01:14:10 +01:00

41 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<fpdoc-descriptions>
<package name="lcl">
<!--
====================================================================
DefaultTranslator
====================================================================
-->
<module name="DefaultTranslator">
<short>
Performs string translations using the language selected for the project.
</short>
<descr>
<p>
<file>defaulttranslator.pas</file> performs string translations using the
default I18n and L10n translation facilities in the Lazarus IDE and LCL. This
unit does not contain any code other than the initialization section in the
unit. It calls the SetDefaultLang routine to specify that the default
language identifier for the project is used.
</p>
<p>
To enable automatic string translation, use this unit in your application and
check the <b>Enable i18n</b> option in the <b>Project &gt; Project Options
&gt; i18n</b> screen. If you want translation to be performed using a
specific language identifier, use the <file>LCLTranslator</file> unit instead.
</p>
<p>
For more information, see the Lazarus Wiki article:
<url
href="http://wiki.lazarus.freepascal.org/Step-by-step_instructions_for_creating_multi-language_applications">Creating
Multi-Language Applications</url>
</p>
</descr>
<element name="LCLTranslator"/>
</module>
<!-- DefaultTranslator -->
</package>
</fpdoc-descriptions>