From ee595c6ce62ee8c904132f72d9da01b53563531d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Mon, 14 Mar 2011 21:56:52 +0100 Subject: Added some extra documentation on translating Swift. diff --git a/Documentation/TranslatingSwift.txt b/Documentation/TranslatingSwift.txt index f6d89e1..178f1e2 100644 --- a/Documentation/TranslatingSwift.txt +++ b/Documentation/TranslatingSwift.txt @@ -32,9 +32,25 @@ language. Testing your translation ------------------------ -- Ensure your translation file is in Swift/Translations/swift_.ts -- Build Swift (for more details, see the building documentation): - scons Swift - This will build translation modules (.qm) for your translation sources, and - put them in the right place. -- Run Swift +You can choose to manually test your translation (doesn't require a +development environment for Swift), or automatically: +- Manually: + - In Linguist, select "File->Release". This will create a file called + .qm. + - Put .qm in the translations dir + - On Windows, in the 'translations/' subdir of the installed package + - On Mac OS X, use "Show Package Contents" on Swift.app, and put the + translation file in Contents/Resources/translations + - On Linux, in /usr/share/swift/translations +- Automatically: + - Ensure your translation file is in Swift/Translations/swift_.ts + - Build Swift (for more details, see the building documentation): + scons Swift + This will build translation modules (.qm) for your translation sources, and + put them in the right place. + +Finally, run Swift. If your system isn't set up to use your language, set the +LANG environment variable to the name of your language before running Swift. +For example: + set LANG=nl (on Windows) + export LANG=nl (on Linux or Mac OS X, in Bash) -- cgit v0.10.2-6-g49f6