File: defaulttranslator.xml

package info (click to toggle)
lazarus 4.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276,392 kB
  • sloc: pascal: 2,344,754; xml: 509,184; makefile: 355,815; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (52 lines) | stat: -rw-r--r-- 1,782 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?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>