translation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
translation [2009/10/20 21:09] – added screenshot of Qt Linguist glaubitz | translation [2011/01/15 02:44] – glaubitz | ||
---|---|---|---|
Line 12: | Line 12: | ||
Linux (and *BSD users) install it with the package manager of their distribution. Usually, installing the latest version of the Qt4 SDK together with Qt Creator will install the necessary files and "Qt Linguist 4" will show up in the program menu. | Linux (and *BSD users) install it with the package manager of their distribution. Usually, installing the latest version of the Qt4 SDK together with Qt Creator will install the necessary files and "Qt Linguist 4" will show up in the program menu. | ||
+ | |||
+ | A detailed manual for the software can be found at: [[http:// | ||
===== How to use Qt Linguist ===== | ===== How to use Qt Linguist ===== | ||
- | Screenshot of Qt Linguist | + | Run "Qt Linguist |
+ | |||
+ | {{: | ||
+ | |||
+ | Upon opening a new template file, Qt Linguist will prompt you with the following dialog. Please leave the settings for " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | After applying the correct settings for your language, your screen should look like this except for the fact that the translations for your language are not yet defined, that's your job: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | To start translation, | ||
+ | |||
+ | ==== Accelerators ==== | ||
+ | |||
+ | Accelerators refer to the keyboard shortcuts you invoke with the " | ||
+ | |||
+ | Now, // | ||
+ | |||
+ | < | ||
+ | & | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | < | ||
+ | & | ||
+ | </ | ||
+ | |||
+ | The accelerator can precede any letter in a word, it doesn' | ||
+ | |||
+ | Accelerators have to be unique, Qt Linguist will prompt you for any duplicate assigned accelerators. Please check the warnings at the bottom all the time. | ||
+ | |||
+ | One note on East Asian languages (or any other language with non-latin alphabets): Since most people in asia use standard alphanumeric keyboards but the menus still appear in their specific language, accelerators have to be defined through an extra character. Naturally, mose people just use the accelarators from the English version. Thus, if you translate "& | ||
+ | |||
+ | This means in code: | ||
+ | |||
+ | < | ||
+ | &File | ||
+ | </ | ||
+ | |||
+ | translates to: | ||
+ | |||
+ | < | ||
+ | ファイル (&F) | ||
+ | </ | ||
+ | |||
+ | ==== Place holders ==== | ||
+ | |||
+ | Place holders are used to reserve parts of a text for information that is inserted on runtime by the program code. That is, while the program is actually running. This is necessary to provide the user with dynamically generated information, | ||
+ | |||
+ | A very simple example is: | ||
+ | |||
+ | < | ||
+ | Track %1 | ||
+ | </ | ||
+ | |||
+ | which is used to caption a track in the user interface. " | ||
+ | |||
+ | For translations, | ||
+ | |||
+ | Thus, the above one translates to in Norwegian: | ||
+ | |||
+ | < | ||
+ | Spor %1 | ||
+ | </ | ||
+ | |||
+ | It doesn' | ||
+ | |||
+ | < | ||
+ | %1 er Track | ||
+ | </ | ||
+ | |||
+ | ==== HTML formatting ==== | ||
+ | |||
+ | Some of the interface text might be formatted with HTML. HTML formatting is useful to display certain text with larger fonts, bold or italic and so on. For example, the text in the about dialog looks like this: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <p>A free music transfer software for MiniDisc walkman.</ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | file LICENSE in the program folder | ||
+ | </ | ||
+ | |||
+ | For translation of such formatted texts, the best practice is just to copy the whole formatted text (including the HTML tags) and just edit and translate the normal, user-visible text. Changing the formatting should not be necessary in most cases. Thus, for example, the German | ||
- | {{:qtlinguist_main.png?500}} | + | < |
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | Datei LICENSE im Programmverzeichnis für mehr Infos.</ | ||
+ | </ | ||
===== .ts Files ===== | ===== .ts Files ===== | ||
+ | All currently existing translations can be found on our FTP server at: [[http:// |
translation.txt · Last modified: 2011/01/28 23:48 by glaubitz