blob: 4284ad79b2942cae832c75407ec5746f25d703e8 (
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Need for a clear policy on translated man pages
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Need%20for%20a%20clear%20policy%20on%20translated%20man%20pages&In-Reply-To=%3C4EE38534.7010508%40gmx.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="010327.html">
<LINK REL="Next" HREF="010330.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Need for a clear policy on translated man pages</H1>
<B>Kamil Rytarowski</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Need%20for%20a%20clear%20policy%20on%20translated%20man%20pages&In-Reply-To=%3C4EE38534.7010508%40gmx.com%3E"
TITLE="[Mageia-dev] Need for a clear policy on translated man pages">n54 at gmx.com
</A><BR>
<I>Sat Dec 10 17:13:40 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="010327.html">[Mageia-dev] Where to report mageia 2 alpha 1 problems?
</A></li>
<LI>Next message: <A HREF="010330.html">[Mageia-dev] Need for a clear policy on translated man pages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10329">[ date ]</a>
<a href="thread.html#10329">[ thread ]</a>
<a href="subject.html#10329">[ subject ]</a>
<a href="author.html#10329">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hello!
Please make it clear, at least for newcomers, how to package translated
man pages in Mageia. Our policies and guidelines aren't clear.
<A HREF="https://wiki.mageia.org/en/Packaging_guidelines#Handling_Locale_Files">https://wiki.mageia.org/en/Packaging_guidelines#Handling_Locale_Files</A>
suggested, before the latest changes, with "If the package includes
translations, add BuildRequires: gettext If you don't, your package
could fail to generate translation files in the buildroot." that this
section is also about man pages. Translated man pages are
_translations_, aren't they?
In the "Packaging localisation policy" it's more clear. But still
expressions like "some cases" aren't clear. I wouldn't say that *all*
man pages are counted as "some [special] case". Aren't I right?
Is it possible to handle multiple man pages in different languages with
some macro? At times it's bit complicated, for example for amule it's
done like this:
%lang(de) %{_mandir}/de/man1/alc.1*
%lang(es) %{_mandir}/es/man1/alc.1*
%lang(hu) %{_mandir}/hu/man1/alc.1*
%lang(de) %{_mandir}/de/man1/amule.1*
%lang(it) %{_mandir}/it/man1/amule.1*
%lang(de) %{_mandir}/de/man1/amulegui.1*
%lang(it) %{_mandir}/it/man1/amulegui.1*
%lang(de) %{_mandir}/de/man1/cas.1*
%lang(de) %{_mandir}/de/man1/ed2k.1*
%lang(de) %{_mandir}/de/man1/wxcas.1*
%lang(de) %{_mandir}/de/man1/xas.1*
%lang(es) %{_mandir}/es/man1/amule.1*
%lang(es) %{_mandir}/es/man1/amulegui.1*
%lang(es) %{_mandir}/es/man1/cas.1*
%lang(es) %{_mandir}/es/man1/ed2k.1*
%lang(es) %{_mandir}/es/man1/wxcas.1*
%lang(es) %{_mandir}/es/man1/xas.1*
%lang(fr) %{_mandir}/fr/man1/alc.1*
%lang(fr) %{_mandir}/fr/man1/amule.1*
%lang(fr) %{_mandir}/fr/man1/ed2k.1*
%lang(fr) %{_mandir}/fr/man1/cas.1*
%lang(fr) %{_mandir}/fr/man1/xas.1*
%lang(fr) %{_mandir}/fr/man1/amulegui.1*
%lang(fr) %{_mandir}/fr/man1/wxcas.1*
%lang(hu) %{_mandir}/hu/man1/amule.1*
%lang(hu) %{_mandir}/hu/man1/cas.1*
%lang(hu) %{_mandir}/hu/man1/ed2k.1*
%lang(it) %{_mandir}/it/man1/ed2k.1*
%lang(it) %{_mandir}/it/man1/alc.1*
%lang(it) %{_mandir}/it/man1/cas.1*
%lang(it) %{_mandir}/it/man1/wxcas.1*
%lang(it) %{_mandir}/it/man1/xas.1*
%lang(hu) %{_mandir}/hu/man1/amulegui.1*
%lang(hu) %{_mandir}/hu/man1/wxcas.1*
%lang(hu) %{_mandir}/hu/man1/xas.1*
%lang(ru) %{_mandir}/ru/man1/alc.1*
%lang(ru) %{_mandir}/ru/man1/amule.1*
%lang(ru) %{_mandir}/ru/man1/amulegui.1*
%lang(ru) %{_mandir}/ru/man1/cas.1*
%lang(ru) %{_mandir}/ru/man1/ed2k.1*
%lang(ru) %{_mandir}/ru/man1/wxcas.1*
%lang(ru) %{_mandir}/ru/man1/xas.1*
%lang(de) %{_mandir}/de/man1/alcc.1*
%lang(es) %{_mandir}/es/man1/alcc.1*
%lang(fr) %{_mandir}/fr/man1/alcc.1*
%lang(it) %{_mandir}/it/man1/alcc.1*
%lang(ru) %{_mandir}/ru/man1/alcc.1*
%lang(hu) %{_mandir}/hu/man1/alcc.1*
%lang(de) %{_mandir}/de/man1/amulecmd.1*
%lang(es) %{_mandir}/es/man1/amulecmd.1*
%lang(fr) %{_mandir}/fr/man1/amulecmd.1*
%lang(hu) %{_mandir}/hu/man1/amulecmd.1*
%lang(it) %{_mandir}/it/man1/amulecmd.1*
%lang(ru) %{_mandir}/ru/man1/amulecmd.1*
%lang(de) %{_mandir}/de/man1/amuled.1*
%lang(es) %{_mandir}/es/man1/amuled.1*
%lang(fr) %{_mandir}/fr/man1/amuled.1*
%lang(hu) %{_mandir}/hu/man1/amuled.1*
%lang(it) %{_mandir}/it/man1/amuled.1*
%lang(ru) %{_mandir}/ru/man1/amuled.1*
%lang(de) %{_mandir}/de/man1/amuleweb.1*
%lang(es) %{_mandir}/es/man1/amuleweb.1*
%lang(fr) %{_mandir}/fr/man1/amuleweb.1*
%lang(hu) %{_mandir}/hu/man1/amuleweb.1*
%lang(it) %{_mandir}/it/man1/amuleweb.1*
%lang(ru) %{_mandir}/ru/man1/amuleweb.1*
PS. The policy suggest to follow numlock.spec and in the file we read in
the 1st like as follows "# !!!!!!!! WARNING THIS HAS TO BE EDITED IN THE
SVN !!!!!!!!!!!" - is this a provocation? The file was untouched for 10
months :)
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="010327.html">[Mageia-dev] Where to report mageia 2 alpha 1 problems?
</A></li>
<LI>Next message: <A HREF="010330.html">[Mageia-dev] Need for a clear policy on translated man pages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10329">[ date ]</a>
<a href="thread.html#10329">[ thread ]</a>
<a href="subject.html#10329">[ subject ]</a>
<a href="author.html#10329">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|