~ubuntu-branches/ubuntu/karmic/firebird2.1/karmic

« back to all changes in this revision

Viewing changes to builds/install/arch-specific/win32/i18n_readme.txt

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-05-26 23:59:25 UTC
  • Revision ID: james.westby@ubuntu.com-20080526235925-2pnqj6nxpppoeaer
Tags: upstream-2.1.0.17798-0.ds2
Import upstream version 2.1.0.17798-0.ds2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Internationalization (I18N) of the Win32 installer.
 
2
===================================================
 
3
 
 
4
The intention of adding internationalization to the Win32 Firebird
 
5
installer is to provide a minimum level of translation to support
 
6
the installation process only. This means just translating the install
 
7
dialogues, the readme file and the installation readme file. All other
 
8
documentatation i18n should be available separately. I18n is a
 
9
good thing, but bloating the installer with large amounts of translated
 
10
documentation is not desirable. 
 
11
 
 
12
The current version of InnoSetup - 4.2.7 - provides generic support for
 
13
the following languages:
 
14
 
 
15
    Catalan, Czech, Dutch, French, German, Norwegian, Polish,
 
16
    PortugueseStd, Russian and Slovenian.
 
17
 
 
18
In addition, the InnoSetup user community has made other language packs
 
19
available for download. See here for details:
 
20
 
 
21
  http://www.jrsoftware.org/files/istrans/
 
22
 
 
23
Therefore adding i18n support to the Firebird installer is extremely
 
24
simple as all we need are translations of the Firebird specific messages.
 
25
 
 
26
Currently the Firebird installer has support for English, French, German,
 
27
Portuguese (standard), Hungarian and Slovenian installs. So there are still 
 
28
opportunities for others to provide support for their native language.
 
29
 
 
30
 
 
31
How to add new languages
 
32
------------------------
 
33
 
 
34
The simplest way to understand this is to study the implementation of
 
35
the French translation. The steps to follow are these:
 
36
 
 
37
o The Win32 install files are located in install\arch-specific\win32.
 
38
  This sub-directory is located as follows:
 
39
 
 
40
    Firebird 1.5  - firebird2\src
 
41
    Firebird 2.0  - firebird2\builds
 
42
 
 
43
o You can use anonymous CVS to checkout the Win32 install kit with these
 
44
  commands:
 
45
 
 
46
  [login]
 
47
 
 
48
    cvs -d:pserver:anonymous@firebird.cvs.sourceforge.net:/cvsroot/firebird login
 
49
 
 
50
  [checkout the Fb 1.5 Win32 installation kit]
 
51
 
 
52
    cvs -z3 -d:pserver:anonymous@firebird.cvs.sourceforge.net:/cvsroot/firebird co -r B1_5_Release firebird2/src/install/arch-specific/win32
 
53
 
 
54
  [checkout the Fb 2.0 Win32 installation kit]
 
55
 
 
56
    cvs -z3 -d:pserver:anonymous@firebird.cvs.sourceforge.net:/cvsroot/firebird co -r B2_0_Release firebird2/builds/install/arch-specific/win32
 
57
 
 
58
 
 
59
o Each language has its own sub-directory under install\arch-specific\win32.
 
60
  If possible a two-letter language code should be used for the
 
61
  directory name. This two letter code should, if possible, be the 
 
62
  internationally recognised two-letter identifier for the langauge.
 
63
 
 
64
 
 
65
o Three files are required:
 
66
 
 
67
  * custom_messages_%LANG_CODE%.inc
 
68
 
 
69
    where %LANG_CODE% represents the language identifier used in the
 
70
    directory name. This file contains the translated strings that are
 
71
    used throughout the installation process. The original, english
 
72
    strings are stored in install\arch-specific\win32\custom_messages.inc
 
73
 
 
74
  * readme.txt
 
75
 
 
76
    where the actual file name can be either in english or in the
 
77
    translated equivalent of the name. The readme file stores last
 
78
    minute documentation changes as well as general notes on using
 
79
    firebird. It is displayed at the end of the installation process.
 
80
 
 
81
    The readme file is always subject to change from one beta or 
 
82
    pre-release to the next (or final release.) For this reason the 
 
83
    translated readme should always explain that the english language 
 
84
    readme.txt is the definitive version. This is because it will 
 
85
    not be possible to hold up a release while waiting for translators 
 
86
    to complete their work.
 
87
 
 
88
  * installation_readme.txt
 
89
 
 
90
    This filename can be translated or left with the original english
 
91
    title. It contains installation specific details. It is displayed
 
92
    near the beginning of the installation process. The installation 
 
93
    readme is usually static and only changes from point release to 
 
94
    point release.
 
95
 
 
96
 
 
97
o Issues to bear in mind
 
98
 
 
99
  * Use ascii characters for filenames where possible.
 
100
 
 
101
  * All strings that appear as text labels in dialogue screens should contain 
 
102
    an ampersand ( & ) to support keyboard input during setup. 
 
103
 
 
104
  * The installation readme file and the readme file must be formatted to 
 
105
    a column width of 55 chars. Otherwise the installer will wrap lines 
 
106
    awkwardly. This is because the installer screens use the Courier New
 
107
    font to display these text files. Courier New guarantees to maintain
 
108
    column alignment.
 
109
    
 
110
 
 
111
o Adding the new language to the InnoSetup install script
 
112
 
 
113
  Changes have been kept to the absolute minimum. Only the following
 
114
  sections need to be altered:
 
115
 
 
116
    [Languages]
 
117
    Name: en; MessagesFile: compiler:Default.isl; InfoBeforeFile: output\doc\installation_readme.txt; InfoAfterFile: src\install\arch-specific\win32\readme.txt;
 
118
    Name: fr; MessagesFile: compiler:Languages\French.isl; InfoBeforeFile: src\install\arch-specific\win32\fr\installation_lisezmoi.txt; InfoAfterFile: src\install\arch-specific\win32\fr\lisezmoi.txt;
 
119
 
 
120
    [Messages]
 
121
    en.BeveledLabel=English
 
122
    fr.BeveledLabel=Fran�ais
 
123
 
 
124
    [CustomMessages]
 
125
    #include "custom_messages.inc"
 
126
    #include "fr\custom_messages_fr.inc"
 
127
 
 
128
  You are not required to make these changes.
 
129
 
 
130
 
 
131
o Submitting your changes
 
132
 
 
133
  All i18n is being co-ordinated by Paul Reeves who maintains the Win32
 
134
  installation kits. He can be contacted at:
 
135
 
 
136
     mailto: preeves at ibphoenix.com
 
137
 
 
138