|author||Remko Tronçon <firstname.lastname@example.org>||2011-03-14 20:56:52 (GMT)|
|committer||Remko Tronçon <email@example.com>||2011-03-14 20:56:52 (GMT)|
Added some extra documentation on translating Swift.
1 files changed, 22 insertions, 6 deletions
diff --git a/Documentation/TranslatingSwift.txt b/Documentation/TranslatingSwift.txt
index f6d89e1..178f1e2 100644
@@ -32,9 +32,25 @@ language.
Testing your translation
-- Ensure your translation file is in Swift/Translations/swift_<YOURLANGUAGE>.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:
+ - In Linguist, select "File->Release". This will create a file called
+ - Put <YOURLANGUAGE>.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
+ - Ensure your translation file is in Swift/Translations/swift_<YOURLANGUAGE>.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.
+ set LANG=nl (on Windows)
+ export LANG=nl (on Linux or Mac OS X, in Bash)