You are here

Qtractor Translation

hello i would love to help with translation for Qtractor to Swedish if it doesnt exists yet

Sinceraly
Martin aka Ztealmax

Forums: 
rncbc's picture

assuming the swedish LANGuage code is "se" (ISO code is "sv", though), you can follow these steps:

1. apply the following patch (via `patch -p0`):

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 4109)
+++ Makefile.in	(working copy)
@@ -281,7 +281,8 @@
 	src/translations/qtractor_it.ts \
 	src/translations/qtractor_ja.ts \
 	src/translations/qtractor_pt.ts \
-	src/translations/qtractor_ru.ts
+	src/translations/qtractor_ru.ts \
+	src/translations/qtractor_se.ts
 
 translations_targets = \
 	src/translations/qtractor_cs.qm \
@@ -290,7 +291,8 @@
 	src/translations/qtractor_it.qm \
 	src/translations/qtractor_ja.qm \
 	src/translations/qtractor_pt.qm \
-	src/translations/qtractor_ru.qm
+	src/translations/qtractor_ru.qm \
+	src/translations/qtractor_se.qm
 
 
 export datarootdir = @datarootdir@
Index: TRANSLATORS
===================================================================
--- TRANSLATORS	(revision 4109)
+++ TRANSLATORS	(working copy)
@@ -18,3 +18,6 @@
 
 Russian (ru)
 	Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
+
+Swedish (se)
+	Martin Svensson <martin.svensson@ztealmax.se>
Index: src/src.pro
===================================================================
--- src/src.pro	(revision 4109)
+++ src/src.pro	(working copy)
@@ -286,7 +286,8 @@
 	translations/qtractor_it.ts \
 	translations/qtractor_ja.ts \
 	translations/qtractor_pt.ts \
-	translations/qtractor_ru.ts
+	translations/qtractor_ru.ts \
+	translations/qtractor_se.ts
 
 unix {
 

2. run `lupdate qtractor.pro` ...

3. ... after what there should be created a brand new file, "src/translations/qtractor_se.ts", which you shall take into `linguist` and start working on translating every string on sight :)

4. when done enough, send the .ts file to me, i'll be glad to merge your work into the tree.

hth.
cheers.

Add new comment