summaryrefslogtreecommitdiff
path: root/docs/xml/fpgui_topic_defaultlanguage.xml
blob: a4d3fa790827fb35131105090652f0e480da91a6 (plain)
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
<?xml version="1.0"?>
<fpdoc-descriptions>
<package name="fpGUI">
<topic name="AdditionalTopics">
<short>Additional Topics</short>

<topic name="ChangingDefaultLanguage">
<short>Changing the default language</short>
<descr><p>Inside the <var>fpg_constants.pas</var> unit there are a few commented language
defines. If no language specific Define is set, then fpGUI defaults to the English
language. So say you want to change the default language to German, simply uncomment
the <b>de</b> define, and recompile fpGUI.
</p>
<p>Here is a list of current supported languages and their commented defines as they
appear in the <var>fpg_constants</var> unit.</p>
<code>
{.$DEFINE de}     // German
{.$DEFINE ru}     // Russian
{.$DEFINE fr}     // French
{.$DEFINE pt}     // Portuguese (Brazil)
{.$DEFINE af}     // Afrikaans
{.$DEFINE it}     // Italian
{.$DEFINE es}     // Spanish
</code>
</descr>


</topic>
</topic>
</package>
</fpdoc-descriptions>