Simplified Chinese translation for po4a
by hottea
hi,
dear all.
I'm not sure if I have join this mail list. I don't know how to join as there isn't a how-to on the website. I hope you can receive my email.
I found po4a when doing some translation, and found that there's not a complete Simplified Chinese translation for po4a, so I do the work. I create a project on transifex, a localization platform, see www.transifex.com/projects/p/po4a-translation. I wonder how could I see the final result? Where are the translation installed?
If you're interested in the Simplified Chinese translation for po4a, please join the language team on transifex.com, you can also request language on transifex.
-----
send from hottea's openSUSE
3 years, 10 months
Support for reST (reStructuredText)
by Christian Ziemski
Hi!
I'm using Po4a for maintenance of reST(reStructuredText) formatted
documents.
The format "text" is almost working fine here but has problems with some
of reST's specials.
So I patched Text.pm to get it working, at least for me.
Since I'm new to Po4a (and to this list) and not fluent in Perl
it may not be a perfect solution, but anyway:
Is there any interest in the patch (it's against version 0.42)?
Regards
Christian
10 years, 7 months
New release
by François Boulogne
Dear developers,
v0.44 has an annoying bug with the last perl version:
'tempfile' can't be called as a method at
/usr/share/perl5/vendor_perl/Locale/Po4a/Po.pm line 575.
I checked the repository and I know it has been fixed by a contributor.
Since it is quite critical, is it possible to release a new version soon
for users who have an up-to-date system?
Thank you very much for your efforts.
--
François Boulogne.
http://www.sciunto.org
GPG fingerprint: 25F6 C971 4875 A6C1 EDD1 75C8 1AA7 216E 32D5 F22F
11 years, 4 months
suggestion for the website http://po4a.alioth.debian.org
by Didier Spaier
Hi all,
First, thanks for po4a, very useful for maintaining web pages in xhtml format in several languages.
Suggestion: why not use content negotiation?
This way the web server (Apache, I guess) could serve the page in the language matching user preference if set in his or her browser.
That would avoid changing the language for each page visited.
For instance on http://slint.fr I have following .htaccess:
Options +Multiviews
AddLanguage en .en
AddLanguage es .es
AddLanguage fr .fr
AddLanguage pt .pt
LanguagePriority es fr pt en
ForceLanguagePriority Fallback
and pages are named:
index.html.de
index.html.es
index.html.fr
index.html.pt
HTH,
Didier
11 years, 4 months
Test failing for the sgml module.
by Didier Spaier
Hello,
./Build test of po4a-044 fails on my Slackware64-14.0
To get more information I did this:
./Build test -verbose=1 --test-files t/20-sgml.t --debug=1
Output I got is here:
http://pastebin.com/KQF8hm9k
I have SGMLS (1.03ii) installed (included in package linux-docs
in Slackware but not
sp (1.3.4): James Clark's SGML parsing tools
Instead I have OpenSP-1.5.2 (shipped in linux-docs package as well.
I am not able to fiddle with Jams Clark sp's Makefile and would
prefer not to install it or would need guidnace to do that
(I don't know if failing test is related to this dependency missing).
Thanks for any clue, I find po4a awesome and would like to help
others installing it cleanly on Slackware.
Thank for any clue.
Didier
PS in case this list's users prefer have it right in the post here is
end of output of
./Build test -verbose=1 --test-files t/20-sgml.t --debug=1
<end of output begins here>
Starting ACTION_test
Starting ACTION_code
Starting ACTION_config_data
Finished ACTION_config_data
Finished ACTION_code
defined(@array) is deprecated at /tmp/SBo/po4a-0.44/blib/lib/Locale/Po4a/Sgml.pm line 369.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /tmp/SBo/po4a-0.44/blib/lib/Locale/Po4a/Sgml.pm line 369.
(Maybe you should just omit the defined()?)
Files data-20/test2.pot and tmp/po4a-normalize.po differ at line 63:
-#. type: <para></para>
+#. type: <refname></refname>
# Failed test 'normalisation test returns what is expected'
# at t/20-sgml.t line 61.
# Failed (retval=6400) on:
# perl compare-po.pl data-20/test2.pot tmp/po4a-normalize.po && perl compare-po.pl data-20/test2-normalized.sgml tmp/po4a-normalize.output
# Was created with:
# perl -I../lib cd tmp && perl ../../po4a-normalize -f sgml ../data-20/test2.sgml
# Looks like you failed 1 test of 4.
t/20-sgml.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
Test Summary Report
-------------------
t/20-sgml.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=1, Tests=4, 16 wallclock secs ( 0.05 usr 0.00 sys + 1.22 cusr 0.19 csys = 1.46 CPU)
Result: FAIL
Failed 1/1 test programs. 1/4 subtests failed.
11 years, 5 months
[po4a-Bugs][314332] tex module does not like \newtheorem{}[]{}
by po4a-bugs@alioth.debian.org
po4a-Bugs item #314332, was opened at 2013-07-12 13:25 by Federico Poloni
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=314332&gro...
Status: Open
Priority: 3
Submitted By: Federico Poloni (fph-guest)
Assigned to: Nobody (None)
Summary: tex module does not like \newtheorem{}[]{}
Category: None
Group: None
Resolution: None
Initial Comment:
The tex module does not accept the (valid) middle optional argument to a newtheorem call. For instance, the following file does not work:
\documentclass{article}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\begin{document}
\end{document}
Inserting the following line fixes the problem:
%po4a: command newtheorem {}[]{_}[]
I suspect that the stored description of the command newtheorem is missing the first optional parameter.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=314332&gro...
11 years, 5 months