summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-i18n/2012-September/003375.html
blob: 4d35eb1a0369bf8e00356bbb886f81a46ead1837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!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%0A%09Mageia%20web%20pages&In-Reply-To=%3C25422435.ybfRBzRRI8%40localhost.localdomain%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="003374.html">
   <LINK REL="Next"  HREF="003378.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate	Mageia web pages</H1>
    <B>Dimitrios Glentadakis</B> 
    <A HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20Script%20for%20lang%3C-%3Epo%20conversion%20to%20translate%0A%09Mageia%20web%20pages&In-Reply-To=%3C25422435.ybfRBzRRI8%40localhost.localdomain%3E"
       TITLE="[Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate	Mageia web pages">dglent at gmail.com
       </A><BR>
    <I>Sun Sep  9 16:36:13 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="003374.html">[Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate Mageia web pages
</A></li>
        <LI>Next message: <A HREF="003378.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#3375">[ date ]</a>
              <a href="thread.html#3375">[ thread ]</a>
              <a href="subject.html#3375">[ subject ]</a>
              <a href="author.html#3375">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>&#931;&#964;&#953;&#962; 09/09/2012 16:20:19 Yuri Chornoivan &#941;&#947;&#961;&#945;&#968;&#949;:
&gt;<i>&#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1077; Sun, 09 Sep 2012 15:51:44 +0300, Dimitrios Glentadakis  
</I>&gt;<i>&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-i18n">dglent at gmail.com</A>&gt;:
</I>&gt;<i>
</I>&gt;&gt;<i> &#931;&#964;&#953;&#962; 09/09/2012 14:40:43 Filip Komar &#941;&#947;&#961;&#945;&#968;&#949;:
</I>&gt;&gt;&gt;<i> Thanks Yuri. Nice job. I think it's worth committing it in svn[1].
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> On 9 September 2012 14:16, Dimitrios Glentadakis &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-i18n">dglent at gmail.com</A>&gt;  
</I>&gt;&gt;&gt;<i> wrote:
</I>&gt;&gt;&gt;&gt;<i> But what about the already translated .lang files ?
</I>&gt;&gt;&gt;&gt;<i> The only way to work with po files is to run the script and translate  
</I>&gt;&gt;&gt;&gt;<i> them again ? (i hope no :))
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Dimitrios, did you miss this part of explanation?
</I>&gt;&gt;&gt;&gt;&gt;<i> If you ever need to update something (.lang's were updated or you  
</I>&gt;&gt;&gt;&gt;&gt;<i> found a
</I>&gt;&gt;&gt;&gt;&gt;<i> typo, etc.) just run
</I>&gt;&gt;&gt;&gt;&gt;<i>   python langpo.py
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> I hope that someone will test this procedure some more and put it in
</I>&gt;&gt;&gt;<i> wiki. I'm sure that this script deserve that.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Best regards,
</I>&gt;&gt;&gt;<i> Filip.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> [1] <A HREF="http://svnweb.mageia.org/soft/i18n-tools/">http://svnweb.mageia.org/soft/i18n-tools/</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I run the script in the folder with the English .lang files, how i will  
</I>&gt;&gt;<i> merge them with my existing .lang files?
</I>&gt;&gt;<i> If i run the script in the el folder nothing happens
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>Attached is a one-time converter for existing translations.
</I>&gt;<i>
</I>&gt;<i>Run it as
</I>&gt;<i>
</I>&gt;<i>python translated_converter.py -l &lt;lang_code&gt;
</I>&gt;<i>
</I>&gt;<i>(Ex.: python translated_converter.py -l el)
</I>&gt;<i>
</I>&gt;<i>in a folder of translations. Then copy po's with their folders into /en  
</I>&gt;<i>folder and run
</I>&gt;<i>
</I>&gt;<i>python langpo.py
</I>
Thanks Yuri, i will give a feedback later

-- 
Dimitrios Glentadakis
</PRE>






<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="003374.html">[Mageia-i18n] Script for lang&lt;-&gt;po conversion to translate Mageia web pages
</A></li>
	<LI>Next message: <A HREF="003378.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#3375">[ date ]</a>
              <a href="thread.html#3375">[ thread ]</a>
              <a href="subject.html#3375">[ subject ]</a>
              <a href="author.html#3375">[ 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>