Preliminary localization of XHTML into Chinese

Greetings all,

I am not sure whether this may have been done before (I'd be  
surprised if it hadn't), but since I haven't heard of it, here it  
goes...

I wrote a preliminary XML language using Chinese characters to  
represent the elements, attributes, and specified attribute values of  
XHTML--no DTD or XML Schema yet--to be transformed by a XSLT sheet  
that I devised (with translation help from my wife) into XHTML (or a  
modular variety thereof). It manages to work fine (with a few nuances  
depending on whether viewing in Explorer or Firefox), at least for  
the relatively small files I've tested it on.

I was wondering in what forum it would be appropriate to make this  
announcement, and if there is interest, provide the stylesheets and  
sample XML.

I am sure that the translations must not be wholly suitable (my wife  
is just a beginner in X/HTML and my own Chinese is quite limited) and  
even my XSL stylesheet may have some shortcomings, but I figure it is  
a beginning, if no such language already exists.

I have also designed one version of the stylesheet with entities, so  
it can be easily localized into other languages (another version is  
without entities so that it will work with more server-side  
transformation software like PHP5's XSL extension).

I would also like to see CSS and possibly even a decent feature set  
of Javascript and PHP made into a localized XML representation which  
could then be transformed into actual CSS (or Javascript, PHP, etc.).  
I presume, even for English this could also have its uses.

sincerely,
Brett

Received on Thursday, 1 March 2007 21:23:35 UTC