Re: Perl Monks in other languages?
by grinder (Bishop) on Jun 06, 2003 at 14:48 UTC
|
The Alternate languages section of the Tutorials section contains a couple of tutorials in languages other than English. This is very much dependent on how much effort alternate language monks are prepared to devote to add material. So far, after an initial burst of activity, not much has come of it.
We need you!
_____________________________________________ Come to YAPC::Europe 2003 in Paris, 23-25 July 2003.
| [reply] |
|
|
Oh, indeed, I think this is a matter of organize the little spread efforts into something really BIG. This way, everybody will do a little bit of translation to his/her native tongue, and all the documentation and main articles of the Monastery will be translated on many languages.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Just Another Perl Monk
| [reply] |
Re: Perl Monks in other languages?
by VSarkiss (Monsignor) on Jun 06, 2003 at 14:50 UTC
|
There are some non-English Tutorials in the monastery (Dutch, German, and Italian). I think it'd be nice to have more -- why don't you start by writing one in Portuguese? You could translate one of the existing ones or write something entirely new.
As to why: well, mainly because nobody's made the effort. So if you start, maybe you'll encourage others.
| [reply] |
Re: Perl Monks in other languages?
by theorbtwo (Prior) on Jun 06, 2003 at 20:57 UTC
|
I think the major reason a translation effort has never really gotten started isn't that there isn't a place for them to orginize... it's because there aren't enough translators-to-be, esp for any given langauge.
Also, if you want to translate the site docs, you don't want a sepperate group. You want to be part of the sitedocclan.
(BTW, note that all content in the monestary is latin-1 (iso-8869-1), not Unicode. That makes it annoying to translate into Japanese, Russian, or anything else that uses a non-latin-based alphabet.)
Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).
| [reply] |
|
|
grrr...you weren't kidding were you. Anyone with info on how make Japanese characters work, I would be happy for the info.
"Pain is weakness leaving the body, I find myself in pain everyday" -me
| [reply] |
|
|
You need to entitize all characters not within the latin-1 reptiore. I /belive/ this code will do it, assuming $_ is your text, stored as "proper" utf8, with perl's utf-8 flag set.
my $ord;
s/(.)/$ord=ord $1;
if ($ord < 128) {
$1;
} else {
"&#$1;";
}
/ge;
Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).
| [reply] [d/l] |
Re: Perl Monks in other languages?
by kutsu (Priest) on Jun 06, 2003 at 17:55 UTC
|
I would be willing to translate some Tutorials into
Japanese, but who would I send these to once I finished.
"Pain is weakness leaving the body, I find myself in pain everyday" -me
| [reply] |
|
|
Welcome to the Unofficial Perl Monk Translation Order, fellow. (-:
AFAIK, I think you should post your translation in to the Tutorials node, so the Editors can publish it for us.
May the gods bless you and your effort.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Just Another Perl Monk
| [reply] |
Re: Perl Monks in other languages?
by dopey (Sexton) on Jun 09, 2003 at 04:34 UTC
|
If I knew any other language besides English I would be the first in line to translate PerlMonks and open the gates of the Monastery to a wider population, but I hardly passed my French I class. | [reply] |