From f39beba138746f0a3b1a979f90b986dd03aa6cd1 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Tue, 9 Oct 2012 14:23:58 +0200 Subject: [PATCH] Make download instructions for TS files a bit more clear (hopefully). --- doc/Translate.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Translate.html b/doc/Translate.html index 1e124374..e006fc2c 100644 --- a/doc/Translate.html +++ b/doc/Translate.html @@ -24,7 +24,7 @@ a:visited { color: #0000EE; }

Editing the language file:

LameXP v4.xx translations are created as TS (translation) files, which can be edited using the Qt Linguist application. For new translations an empty TS file ("Blank.ts") is provided in the LameXP Git repository. When you open the empty TS file for the first time, Qt Linguist will ask for some basic settings. Here you must keep the "Source language" options at "English" and "Any Country". Change the "Target language" options to whatever language (region) you are going to translate to. Once you have edited all (or some) text strings, you can save your work to a TS file again. It is recommended to save your work to "LameXP_XX.ts", where XX should be replaced with the suitable upper-case ISO 639-1 Code for the representation of names of languages (for example the German translation is saved as "LameXP_DE.ts", because the corresponding ISO 639-1 code is DE). You can re-open your TS file at any time in order to continue with your work. In case you want to improve an existing LameXP translation, simply download the corresponding TS file from the LameXP Git repository and edit it using the Qt Linguist tool.

-

The latest translation (TS) files can always be found in the LameXP Git repository at:
https://github.com/lordmulder/LameXP/tree/master/etc/Translation

After you have chosen a file from the directory tree, you can download the file by right-clicking on "raw" button (in the upper right corner) an choosing "Save Link Target As...".
Raw

+

The latest translation (TS) files can always be found in the LameXP Git repository at:
https://github.com/lordmulder/LameXP/tree/master/etc/Translation
https://bitbucket.org/lord_mulder/lamexp/src/master/etc/Translation

After you have chosen a file from the directory tree (by left-click!), you can download the file by right-clicking on "raw" button/link (in the upper right corner) an choosing "Save Link As...".
Raw
(As people seem to have problems here: Please be sure to download the actual file content, by using the "raw" button/link. Do not save the page as shown in the browser, as that would only save the HTML preview of the file rather than the file itself! Also, in the directory tree view, do not right-click + "Save Link As..." on one of the TS files, as that would only save the HTML preview. Instead, left-click on the link to open/preview the TS file in the browser, then use the "raw" button/link!)

IMPORTANT: Before you start to create a new translation, always make sure you downloaded the latest "Blank.ts" file from the LameXP Git repository. Also before you start editing or updating an existing translation, including translations you have created yourself, make sure you downloaded the latest TS file from the LameXP Git repository. Never do any translations based on an old working copy (TS file) from your local system! The translation files (TS) in the Git repository will be updated/extended continuously, as the development proceeds. We cannot accept translations based on an outdated TS file!


Language file editing rules: