summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-i18n/2012-May/002919.html
blob: 873ae43fde36273351bedb3a63070bf20de983d4 (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
112
113
114
115
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-i18n] www pages: about and main index
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20www%20pages%3A%20about%20and%20main%20index&In-Reply-To=%3CCANa9xwuVOqyOLAz1%3D4SCWfXc4qP%3D5zNPs3j8qn6zrtp_3mZj0g%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002917.html">
   <LINK REL="Next"  HREF="002920.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-i18n] www pages: about and main index</H1>
    <B>Romain d'Alverny</B> 
    <A HREF="mailto:mageia-i18n%40mageia.org?Subject=Re%3A%20%5BMageia-i18n%5D%20www%20pages%3A%20about%20and%20main%20index&In-Reply-To=%3CCANa9xwuVOqyOLAz1%3D4SCWfXc4qP%3D5zNPs3j8qn6zrtp_3mZj0g%40mail.gmail.com%3E"
       TITLE="[Mageia-i18n] www pages: about and main index">rdalverny at gmail.com
       </A><BR>
    <I>Fri May 25 21:49:37 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="002917.html">[Mageia-i18n] www pages: about and main index
</A></li>
        <LI>Next message: <A HREF="002920.html">[Mageia-i18n] www pages: about and main index
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2919">[ date ]</a>
              <a href="thread.html#2919">[ thread ]</a>
              <a href="subject.html#2919">[ subject ]</a>
              <a href="author.html#2919">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Fri, May 25, 2012 at 6:41 PM, Yuri Chornoivan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-i18n">yurchor at ukr.net</A>&gt; wrote:
&gt;<i> Just of curiosity, a couple of questions.
</I>&gt;<i>
</I>&gt;<i> 1. What was the reason to choose unsustainable format that is not recognized
</I>&gt;<i> by the existing toolchains (lang)?
</I>
My past experience with gettext (4 years, I dropped it about 3 years
ago, things may have changed since) has been terrible (mostly, because
gettext is [was?] not thread-safe and the server implementation made
that hugely problematic). So we had erratic server behaviour regarding
locale management on our websites.

I could have migrated to .po files nonetheless and use a library
reimplementing gettext over it. But frankly, the past struggles with
gettext (in a Web context - it does perfectly its job in a local app
context) made me want to try something else, lighter (so less featured
as well obviously). I know Mozilla used to have .lang files too, I
checked it out a bit and thought it would be worth the try; and
perhaps would we be able to reuse their own libs in this regard.

&gt;<i> 2. Consider someone decided to change something on a webpage. How can we
</I>&gt;<i> (translators) know about the changes (Manually parse svn diffs, copy and
</I>&gt;<i> paste diffs from PHP page? What about fuzzy matches?) ?
</I>
First, someone would be identified - I commit about 95% of what goes
on www, 5 other percent are between obgr and dams. That's for the
code, content, layout, etc. (I'm not happy with this either). I wrote
quickly report and diff utilities so you can have a look (and we can
rework them, just tell me how), but I expect to sneak peak at
Mozilla's codebase.

So, upon modified or added contents on a webpage, that would happen in
English only (that's the pivot language). That will need to extract
the string from the source, inject it in the lang file, and the diff
will appear on the report page then. No need for anyone to play with
PHP code, you will only edit the .lang files.

And there won't be fuzzy matches. The string will be blankly added, or removed.

&gt;<i> P.S. Written when struggling to realize where to place the new strings from
</I>&gt;<i> <A HREF="http://www.mageia.org/langs/report.php">http://www.mageia.org/langs/report.php</A>
</I>&gt;<i> Thinking about left this without translation in the future.
</I>
? didn't understand. What was the issue?

Note that I'm all to improve and ease the translation process for you
- but being alone, I do it with what my experience has been as well -
that will explain as well why I chose a dead boring simple homemade
framework for the Web site, and not an existing CMS - the situation
wouldn't be the same with an active 3 or 4-seats Web team.

And again, tell me if I'm missing something or if something can be
improved for you.
</PRE>








<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002917.html">[Mageia-i18n] www pages: about and main index
</A></li>
	<LI>Next message: <A HREF="002920.html">[Mageia-i18n] www pages: about and main index
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2919">[ date ]</a>
              <a href="thread.html#2919">[ thread ]</a>
              <a href="subject.html#2919">[ subject ]</a>
              <a href="author.html#2919">[ 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>