mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 21:35:57 +02:00
53 lines
1.7 KiB
XML
53 lines
1.7 KiB
XML
<?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
|
|
file://../../cc-by-sa-4-0.txt
|
|
|
|
Copyright (c) 1997-2024, 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 > Project Options
|
|
> 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>
|