Line | |
---|
1 | =Introduction=
|
---|
2 |
|
---|
3 | This package contains component which make translation of application easy.
|
---|
4 |
|
---|
5 | ==Features==
|
---|
6 |
|
---|
7 | * Easy to use non-visual component
|
---|
8 | * Support runtime translation
|
---|
9 | * Native to lazarus (use .po files)
|
---|
10 | * Native to FPC (use resourcestrings)
|
---|
11 | * Supply available language list
|
---|
12 |
|
---|
13 | =How translation is done=
|
---|
14 |
|
---|
15 | Strings are translated runtime and there is no need to do it as first step during initialization phase.
|
---|
16 |
|
---|
17 | ==Resourcestring=
|
---|
18 |
|
---|
19 | Resourcestrings are translated automatically.
|
---|
20 |
|
---|
21 | ==Components==
|
---|
22 |
|
---|
23 | All application components are translated automatically.
|
---|
24 | This mean all TPersistent descendants with published properties linked to Application object.
|
---|
25 |
|
---|
26 | ===Component and properties exclusion===
|
---|
27 | It is possible to exclude properties which should not be translated
|
---|
28 |
|
---|
29 | ===TCollection, TStrings===
|
---|
30 | Some class properties are translated.
|
---|
31 |
|
---|
32 | * TCollection: TListView.Columns
|
---|
33 | * TStrings: TRadioGroup.Items, TPageControl.Pages, TComboBox.Items, TMemo.Lines
|
---|
34 |
|
---|
35 | ==Other constants==
|
---|
36 |
|
---|
37 |
|
---|
38 | ==Custom translation==
|
---|
39 |
|
---|
40 | You can handle OnTranslate event and do translation of custom structures.
|
---|
41 |
|
---|
42 | =Download=
|
---|
43 |
|
---|
44 | You can download source code using subversion:
|
---|
45 |
|
---|
46 | svn checkout http://svn.zdechov.net/PascalClassLibrary/CoolTranslator
|
---|
Note:
See
TracBrowser
for help on using the repository browser.