File: localization.md

package info (click to toggle)
aseba 1.6.99%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,760 kB
  • sloc: cpp: 44,160; ansic: 15,471; python: 1,597; javascript: 765; sh: 95; makefile: 60
file content (49 lines) | stat: -rw-r--r-- 2,435 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
# Localization guidelines

Several Aseba tools are translated into several languages.
For now, Aseba Studio, Aseba Challenge, and the error messages from the Aseba compiler are available in French, German, Spanish, Italian, Greek, Chinese.
The translations for Japanese are incomplete.

## Help us

We are always looking for motivated translators.
The amount of work is currently around 500 translations for the whole project, mainly single words and short sentences.
The reference language is English.

Here are the steps to help us:

### Your language is German, Spanish, Greek, French, Italian, Japanese or Chinese

In that case, the translation files already exist.
To modify the translation, first [fork the Aseba repository](https://github.com/aseba-community/aseba#fork-destination-box) ([understand github forking](https://help.github.com/articles/fork-a-repo/)).
Then, modify the relevant files using Qt Linguist, these files are:
* For about boxes: `common/about/qtabout_LL.ts`
* For Studio: `clients/studio/asebastudio_LL.ts` and `clients/studio/compiler_LL.ts`
* For Thymio Firmware Updater: `clients/thymioupgrader/thymioupgrader_LL.ts`
* For Thymio Wireless Configurator: `clients/thymiownetconfig/thymiownetconfig_LL.ts`
* For Aseba Playground: `targets/challenge/asebaplayground_LL.ts` 
* For Aseba Challenge: `targets/challenge/asebachallenge_LL.ts`
Where `LL` is the [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code of your language.

Then, submit a [pull request](https://help.github.com/articles/about-pull-requests/) with the updated files.

### Your language is a new one

Please open an [new issue](https://github.com/aseba-community/aseba/issues/new) requesting the addition of your language.
Once the issue is processed, follow the instructions above.

### Useful Resources

Qt translation tools (Qt Linguist):

* [Main user manual](http://qt-project.org/doc/qt-4.8/linguist-manual.html)
* [For translators](http://qt-project.org/doc/qt-4.8/linguist-translators.html)
* [For release managers](http://qt-project.org/doc/qt-4.8/linguist-manager.html)

Databases with existing translations:

* [KDE Localization search engine](http://i18n.kde.org/dictionary/search-translations.php)

### For Maintainers

In [`/maintainer/translations`](https://github.com/aseba-community/aseba/tree/master/maintainer/translations) you will find a set of scripts to help you maintain the translation files.