Re: Question - Hebrew

Filip Brčić <[email protected]>
Newsgroups gmane.mail.archives.mail-archive
Organization ETF Beograd
Message-ID <[email protected]>
Hi Jeff!

> Unfortunately, while MHonArc is fine at dealing with UTF-8 messages,
> it will choke on a UTF-8 configuration file. So the Serbian
> localization will need to be converted to ISO 10646 numerical
> character references. I don't personally know how to do a
> UTF-8 -> ISO 10646 conversion, but hopefully you can figure it
> out or maybe someone on gossip knows how to do it.

There is no problem with that issue. I have transformed the sed script into 
XML and created an XSLT file to transform it back into the sed script. I 
wrote "normal" unicode utf-8 strings into the XML  "SedScript" file and 
purified it with xmllint into iso10646 numerical refs. From that stage the 
file is transformed using xsltproc into regular sed script.

Of course, I could have done it easier, but my idea was to create a "platform" 
for other non-iso8859-1 languages. It is hardly a platform, but it can be 
used to ease production of these translations... maybe.

I have attached my translation and also a tar.bz2 file with xml source, xslt 
processing file and a simple shell script to wrap it all up. By the way, the 
shell script expects a .xml file as input and features no error correction. 
And it expects to have xmllint and xsltproc installed and in path of the 
system which is a good expectation for most linux-es, I would say.

> PS. Once the localization is working I'll add your name to the
>     thank-you section of the FAQ, and send out a notice to gossip
>     when or if the language strings change.
ThanX :)

Best regards
Brcha

-- 
Filip Brčić <[email protected]>
WWWeb: http://purl.org/NET/brcha/home/
Jabber: brcha-jY099N756iEeqi9sf2hz5di2O/[email protected]
ICQ# 40994923

_______________________________________________
Discussion list for The Mail Archive
[email protected]
http://jab.org/cgi-bin/mailman/listinfo/gossip
mail-archive-i18n.serbian.txt (text/plain, 3.3 KB)
# Version: 1.0.3
# Language: Serbian
s/__INT__/.yu/g
 
# Character Set (if not iso-8859-1)
s/__CHARACTER_SET_META_TAG__/utf-8/g
 
# Web pages
s/__Search__/&#1058;&#1088;&#1072;&#1078;&#1080;/g
s/__Date Index__/&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1087;&#1086; &#1076;&#1072;&#1090;&#1091;&#1084;&#1080;&#1084;&#1072;/g
s/__Thread Index__/&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1087;&#1086; &#1090;&#1077;&#1084;&#1072;&#1084;&#1072;/g
s/__Monthly index__/&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1087;&#1086; &#1084;&#1077;&#1089;&#1077;&#1094;&#1080;&#1084;&#1072;/g
s/__Earlier messages__/&#1055;&#1088;&#1077;&#1090;&#1093;&#1086;&#1076;&#1085;&#1077; &#1087;&#1086;&#1088;&#1091;&#1082;&#1077;/g
s/__Later messages__/&#1057;&#1083;&#1077;&#1076;&#1077;&#1115;&#1077; &#1087;&#1086;&#1088;&#1091;&#1082;&#1077;/g
s/__Chronological__/&#1061;&#1088;&#1086;&#1085;&#1086;&#1083;&#1086;&#1096;&#1082;&#1080;/g
s/__Mail converted by__/&#1050;&#1086;&#1085;&#1074;&#1077;&#1088;&#1090;&#1086;&#1074;&#1072;&#1085;&#1086; &#1089;&#1072;/g
s/__Find__/&#1053;&#1072;&#1106;&#1080;/g
s/__Thread__/&#1055;&#1088;&#1072;&#1090;&#1080; &#1088;&#1072;&#1079;&#1075;&#1086;&#1074;&#1086;&#1088;/g
s/__From__/&#1054;&#1076;/g
s/__Subject__/&#1053;&#1072;&#1089;&#1083;&#1086;&#1074;/g
s/__Date__/&#1044;&#1072;&#1090;&#1091;&#1084;/g
s/__Reply via email to__/&#1054;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;&#1080; &#1087;&#1091;&#1090;&#1077;&#1084; &#1077;-&#1087;&#1086;&#1096;&#1090;&#1077;/g
s/__Follow-Ups__/&#1053;&#1072;&#1089;&#1090;&#1072;&#1074;&#1072;&#1082; &#1088;&#1072;&#1079;&#1075;&#1086;&#1074;&#1086;&#1088;&#1072;/g
s/__References__/&#1056;&#1077;&#1092;&#1077;&#1088;&#1077;&#1085;&#1094;&#1077;/g
s/__EMAIL PROTECTED__/[&#1045;-&#1055;&#1054;&#1064;&#1058;&#1040; &#1047;&#1040;&#1064;&#1058;&#1048;&#1035;&#1045;&#1053;&#1040;]/g
 
# Search engine
s/__Search results for__/&#1056;&#1077;&#1079;&#1091;&#1083;&#1090;&#1072;&#1090;&#1080; &#1087;&#1088;&#1077;&#1090;&#1088;&#1072;&#1075;&#1077; &#1079;&#1072;/g
s/__No matches were found for__/&#1053;&#1080;&#1112;&#1077; &#1085;&#1072;&#1106;&#1077;&#1085; &#1085;&#1080; &#1112;&#1077;&#1076;&#1072;&#1085; &#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090; &#1079;&#1072;/g
s/__Please check your spelling or try a different query.__/&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1080;&#1090;&#1077; &#1087;&#1088;&#1072;&#1074;&#1086;&#1087;&#1080;&#1089; &#1080;&#1083;&#1080; &#1087;&#1088;&#1086;&#1073;&#1072;&#1112;&#1090;&#1077; &#1076;&#1088;&#1091;&#1075;&#1072;&#1095;&#1080;&#1112;&#1091; &#1087;&#1088;&#1077;&#1090;&#1088;&#1072;&#1075;&#1091;./g
s/__No match for__/&#1053;&#1080;&#1112;&#1077;&#1076;&#1072;&#1085; &#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090; &#1085;&#1080;&#1112;&#1077; &#1085;&#1072;&#1106;&#1077;&#1085; &#1079;&#1072;/g
s/__No Matches__/&#1053;&#1080;&#1112;&#1077;&#1076;&#1072;&#1085; &#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090; &#1085;&#1080;&#1112;&#1077; &#1085;&#1072;&#1106;&#1077;&#1085;/g
s/__Refine search__/&#1057;&#1091;&#1079;&#1080;&#1090;&#1077; &#1087;&#1088;&#1077;&#1090;&#1088;&#1072;&#1075;&#1091;/g
# Context: Documents 1 - 10 of 72 matches
s/__Documents__/&#1044;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090;&#1080;/g
s/__of__/&#1086;&#1076; &#1091;&#1082;&#1091;&#1087;&#1085;&#1086;/g
s/__matches__/&#1085;&#1072;&#1106;&#1077;&#1085;&#1080;&#1093;/g
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.