~audio-recorder/audio-recorder/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Osmo Antero
  • Date: 2017-02-11 10:41:14 UTC
  • Revision ID: osmoma@gmail.com-20170211104114-kuvdj80l9xn0e7ec
Updating instructions for howto test Audio-recorder with various languages (LANG=nb_NO.UTF-8 etc.).

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
 
138
138
Translate on the Launchpad.
139
139
Use Launchpad for the translations. Browse to https://translations.launchpad.net/audio-recorder
140
 
Login and open a new language file.
 
140
Login and open/update the translations.
141
141
 
142
142
Important: The translations from the Launchpad are automatically copied/synchronized to the source code's po/ directory. 
143
143
Launchpad does this transfer once a day.
156
156
 
157
157
It creates binary language file (*.gmo) of each *.po.
158
158
 
159
 
Testing the program with new languages:
160
 
You can easily test the program with various languages (language files). 
161
 
Simply set the LANG= variable before starting the program. 
162
 
Eg. this will start the audio recorder with Dutch (nl) language setting.
163
 
$ LANG=nl_NL.UTF-8 audio-recorder
164
 
 
165
 
This will start it with Norwegian Bokmål. Put all this on one line.
166
 
LANG=nb_NO.UTF-8 audio-recorder
167
 
 
168
 
And Finland/Finnish
169
 
LANG=fi_FI.UTF-8 audio-recorder
170
 
 
171
 
Of course you must generate and install the language files with
172
 
make
173
 
sudo make install
174
 
 
175
 
Notice: You must also install the same language in system settings!
176
 
Look for the "Language support" dialog. Install all necessary languages there.
177
 
You can set the current language in the login-screen (at least in the earlier version of GNOME).
 
159
Testing the program with various languages:
 
160
*******************************************
 
161
First, you must install the global language packages in the System Settings -> Languages Dialog !
 
162
Press the [Install/Remove languages] button and choose/install the appropriate languages.
 
163
 
 
164
Use the "locale -a" command to list all supported languages in your system.
 
165
$ locale -a
 
166
C.UTF-8
 
167
de_AT.utf8
 
168
...
 
169
en_GB.utf8
 
170
fi_FI.utf8
 
171
nb_NO.utf8
 
172
pt_PT.utf8
 
173
 
 
174
Please check if your target language appears in the list.
 
175
 
 
176
Now you can test Audio-recorder with the supported languages.
 
177
You simply set the tonque before starting the recorder. 
 
178
For example:
 
179
 
 
180
# Changing language of audio-recorder to Norwegian Bookmål
 
181
$ export L=nb_NO.UTF-8
 
182
$ LANG=$L; LC_ALL=$L; LANGUAGE=$L audio-recorder
 
183
 
 
184
# Changing language to German
 
185
$ export L=de_DE.UTF-8
 
186
$ LANG=$L; LC_ALL=$L; LANGUAGE=$L audio-recorder
 
187
 
 
188
# Changing lingo to English GB
 
189
$ export L=en_GB.UTF-8
 
190
$ LANG=$L; LC_ALL=$L; LANGUAGE=$L audio-recorder
 
191
 
 
192
Notice:
 
193
You may also set the language for the ENTIRE DESKTOP in the System-Settings, User Definition dialog.
 
194
Some (not Ubuntu/Unity) systems may let you set the language in the login-screen (Log-out / Log-in).
 
195
 
 
196
Of course, the above commands require that audio-recorder has been translated and packaged with the actual tonques.
 
197
Please see: https://translations.launchpad.net/audio-recorder
 
198
----
178
199
 
179
200
4) You may also translate the HTML-files (help files) in the audio-recorder/data directory.
180
201
If not translated, the program will show the original english text.