<?xml version="1.0" encoding="UTF-8"?>
<!--

Documentation for LCL (Lazarus Component Library) and LazUtils (Lazarus 
Utilities) are published under the Creative Commons Attribution-ShareAlike 4.0 
International public license.

https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/docs/cc-by-sa-4-0.txt

Copyright (c) 1997-2025, by the Lazarus Development Team.

-->
<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="https://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>
