Your message dated Wed, 16 Nov 2011 19:51:28 -0400
with message-id <[email protected]>
and subject line Re: [Po4a-devel] Bug#631874: po4a: [xhtml] Please translate
lang attributes.
has caused the Debian Bug report #631874,
regarding po4a: [xml] Please make xml:lang automatically translated
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
631874: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631874
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: po4a
Version: 0.41-1
Severity: wishlist
Dear po4a maintainers,
I am using po4a for a static XHTML web site, and realised that lang attributes
were not tranlsated. For instance, the Japanese pages contains the following.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
It does not seem to cause big problem, but just in case, would it be possible
to automatically translate these attributes.
Have a nice day,
-- Charles Plessy, Tsurumi, Kanagawa, Japan
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (910, 'stable'), (900, 'testing'), (800, 'unstable'), (500,
'proposed-updates'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages po4a depends on:
ii gettext 0.18.1.1-3 GNU Internationalization utilities
ii libsgmls-perl 1.03ii-32 Perl modules for processing SGML p
ii perl 5.12.3-7+b1 Larry Wall's Practical Extraction
ii perl-modules 5.12.3-7 Core Perl modules
ii sp 1.3.4-1.2.1-47 James Clark's SGML parsing tools
Versions of packages po4a recommends:
ii liblocale-gettext-perl 1.05-6+b1 Using libc functions for internati
ii libterm-readkey-perl 2.30-4+b1 A perl module for simple terminal
ii libtext-wrapi18n-perl 0.06-7 internationalized substitute of Te
po4a suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On 16/11/2011 19:38, Charles Plessy wrote:
indeed, I was using xml:lang instead of lang for no good reason
Alright, so I see no good reason to keep this bug open: the lang
parameter is already translated by default, and the xml:lang parameter
is already (optionally) translatable. Making the xml:lang parameter
translated by default may lead to unwanted corner case, so it is
probably not a good idea to do that (and if someone disagrees, or wants
to discuss this further, the bug can still be reopen).
Regards
David
--- End Message ---