summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-i18n/2012-September/003370.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-i18n/2012-September/003370.html')
-rw-r--r--zarb-ml/mageia-i18n/2012-September/003370.html103
1 files changed, 103 insertions, 0 deletions
diff --git a/zarb-ml/mageia-i18n/2012-September/003370.html b/zarb-ml/mageia-i18n/2012-September/003370.html
new file mode 100644
index 000000000..88766a8f8
--- /dev/null
+++ b/zarb-ml/mageia-i18n/2012-September/003370.html
@@ -0,0 +1,103 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate Mageia web pages
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20Script%20for%20lang%3C-%3Epo%20conversion%20to%20translate%20Mageia%0A%09web%20pages&In-Reply-To=%3Cop.wkdahtdhl2zvei%40localhost%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="003369.html">
+ <LINK REL="Next" HREF="003371.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate Mageia web pages</H1>
+ <B>Yuri Chornoivan</B>
+ <A HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20Script%20for%20lang%3C-%3Epo%20conversion%20to%20translate%20Mageia%0A%09web%20pages&In-Reply-To=%3Cop.wkdahtdhl2zvei%40localhost%3E"
+ TITLE="[Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate Mageia web pages">yurchor at ukr.net
+ </A><BR>
+ <I>Sun Sep 9 14:04:31 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="003369.html">[Mageia-i18n] Commit rights
+</A></li>
+ <LI>Next message: <A HREF="003371.html">[Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate Mageia web pages
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#3370">[ date ]</a>
+ <a href="thread.html#3370">[ thread ]</a>
+ <a href="subject.html#3370">[ subject ]</a>
+ <a href="author.html#3370">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi,
+
+For some reasons usual conversion scripts for .lang files from Translate
+Toolkit do not work as expected.
+
+Nevertheless, the attached script may be useful for those who want to
+organize sustainable translation process of web pages translation.
+
+Prerequisites:
+
+Installed python-polib package:
+
+# urpmi python-polib
+
+Usage:
+
+1. Copy the script into the folder with English .lang files.
+2. Run
+ python langpo.py
+3. Script will create .pot's for all .lang's in the folder. Translate
+pot's and rename the translations into &lt;lang_code&gt;.po
+4. Run
+ python langpo.py
+ once more to create lang's for your language.
+
+If you ever need to update something (.lang's were updated or you found a
+typo, etc.) just run
+ python langpo.py
+
+Limitations:
+The script is useful only for Unicode translations.
+
+Hope it will be useful.
+
+Best regards,
+Yuri
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: langpo.py
+Type: application/octet-stream
+Size: 2356 bytes
+Desc: not available
+URL: &lt;/pipermail/mageia-i18n/attachments/20120909/009d11b7/attachment.obj&gt;
+</PRE>
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="003369.html">[Mageia-i18n] Commit rights
+</A></li>
+ <LI>Next message: <A HREF="003371.html">[Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate Mageia web pages
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#3370">[ date ]</a>
+ <a href="thread.html#3370">[ thread ]</a>
+ <a href="subject.html#3370">[ subject ]</a>
+ <a href="author.html#3370">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-i18n">More information about the Mageia-i18n
+mailing list</a><br>
+</body></html>