aboutsummaryrefslogtreecommitdiffstats
path: root/docs/stylesheets/README
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2015-11-03 16:26:08 +0200
committerYuri Chornoivan <yurchor@ukr.net>2015-11-03 16:26:08 +0200
commit6f8630a70dd5a4652cc897c75e5692c28f1b7dd4 (patch)
tree7cf0a6cb3c787769dd2f3fb0e7d5672f038080a9 /docs/stylesheets/README
parent812bc098c3325d87a5638238ae9d802b44d20eb3 (diff)
downloadtools-6f8630a70dd5a4652cc897c75e5692c28f1b7dd4.tar
tools-6f8630a70dd5a4652cc897c75e5692c28f1b7dd4.tar.gz
tools-6f8630a70dd5a4652cc897c75e5692c28f1b7dd4.tar.bz2
tools-6f8630a70dd5a4652cc897c75e5692c28f1b7dd4.tar.xz
tools-6f8630a70dd5a4652cc897c75e5692c28f1b7dd4.zip
Add files to translate messages from stylesheets
Diffstat (limited to 'docs/stylesheets/README')
-rw-r--r--docs/stylesheets/README43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/stylesheets/README b/docs/stylesheets/README
new file mode 100644
index 00000000..7cdceaf7
--- /dev/null
+++ b/docs/stylesheets/README
@@ -0,0 +1,43 @@
+The scripts may be useful for those who want to
+organize sustainable translation process of Mageia Documentation Team's .xsl files.
+
+Prerequisites:
+
+Installed python-polib package:
+
+# urpmi python-polib
+
+I xslpo.py:
+
+Usage:
+
+1. Copy the script into any folder with .xsl files.
+2. Run
+ python xslpo.py
+3. Script will create .pot's for all .desktop's in the folder. Translate pot's and
+ rename the translations into <lang_code>.po
+4. Run
+ python xslpo.py
+ once more to add your translations to .desktop files.
+
+If you ever need to update something (.xsl's were updated or you found a typo,
+etc.) just run
+ python xslpo.py
+
+Limitations:
+The script is useful only for Unicode translations.
+
+II transconverter.py is a one-time converter for existing
+translations.
+
+Run it as
+
+python transconverter.py
+
+in any folder with desktop files on any level of the filesystem subtree.
+
+ * Both of these files are free software. They come without any warranty, to
+ * the extent permitted by applicable law. You can redistribute it
+ * and/or modify them under the terms of the Do What The Fuck You Want
+ * To Public License, Version 2, as published by Sam Hocevar. See
+ * http://sam.zoy.org/wtfpl/COPYING for more details.