Bug#397542: libxt6: Should include %l_%t.%c, %l.%c and %l_%t in FileSearchPathDefault
Package: libxt6
Version: 1:1.0.2-2
Severity: normal
Tags: l10n
Hi,
For being able to provide Xt translations, FILESEARCHPATHDEFAULT should
also include %l_%t.%c and %l.%c. As an instance, let's consider the
catalan language, and ca_*, ca_ES@euro, ca_ES.UTF-8, ca_ES@valencia and
ca_ES.UTF-8@valencia locales. We need to be able to:
- provide a generic catalan translation, stored in
/etc/X11/ca/apps-default (8bit version) and
/etc/X11/ca.UTF-8/apps-default (UTF-8 version).
So that all ca_* and ca_*.UTF-8 locales will find catalan
translations.
- provide a spanish catalan translation, stored in
/etc/X11/ca_ES/apps-default (8bit version) and
/etc/X11/ca_ES.UTF-8/apps-default (UTF-8 version).
so that ca_ES@* and ca_ES.UTF-8@* locales will get better
translations.
- provide a valencia-specific spanish catalan translation, stored in
/etc/X11/ca_ES@valencia/apps-default (8bit version) and
/etc/X11/ca_ES.UTF-8@valencia/apps-default (UTF-8 version).
so that ca_ES@valencia and ca_ES.UTF-8@valencia locales will get
better localization.
So I suggest to introduce %l_%t.%c, %l.%c and %l_%t between %L and %l in
the filesearchpath for getting correct translations in all of the above
cases, i.e. replace
CFLAGS += -DXFILESEARCHPATHDEFAULT=\\\"/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S:/etc/X11/%L/%T/%N%C%S:/etc/X11/%l/%T/%N%C%S:/etc/X11/%T/%N%C%S:/etc/X11/%L/%T/%N%S:/etc/X11/%l/%T/%N%S:/etc/X11/%T/%N%S\\\" -include X11/XlibConf.h -D_REENTRANT
with
CFLAGS += -DXFILESEARCHPATHDEFAULT=\\\"/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l_%t.%c/%T/%N%S:/usr/lib/X11/%l.%c/%T/%N%S:/usr/lib/X11/%l_%t/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S:/etc/X11/%L/%T/%N%C%S:/etc/X11/%l_%t.%c/%T/%N%C%S:/etc/X11/%l.%c/%T/%N%C%S:/etc/X11/%l_%t/%T/%N%C%S:/etc/X11/%l/%T/%N%C%S:/etc/X11/%T/%N%C%S:/etc/X11/%L/%T/%N%S:/etc/X11/%l_%t.%c/%T/%N%S:/etc/X11/%l.%c/%T/%N%S:/etc/X11/%l_%t/%T/%N%S:/etc/X11/%l/%T/%N%S:/etc/X11/%T/%N%S\\\" -include X11/XlibConf.h -D_REENTRANT
Regards,
Samuel
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages libxt6 depends on:
ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libx11-6 2:1.0.3-2 X11 client-side library
ii x11-common 1:7.1.0-5 X Window System (X.Org) infrastruc
libxt6 recommends no packages.
-- debconf information:
libxt6/migrate_app_defaults_dir: true
--
Samuel Thibault <samuel.thibault@ens-lyon.org>
<b> lisons de l'assembleur c
-+- #sos - CrisC forever -+-
Reply to: