Wiki source for XMLLingua


Show raw source

==== XMLLingua Project Page ====
<< NEEDS RECOVERY << ::c::
{{lastedit show="3"}}

=== History ===
While working on InfoExchange and [[Eliberation]] I thought a lot about translation tools. I was not, and am still not, well versed with "traditional" means of providing internationalization such as GNU's gettext or other methods. I've looked at gettext, and it seems to be rather hackish and not particularly scalable.

For reasons listed below I decided on XML as my storage format. Once that was decided I went to work on developing a PHP toolset for building and translating language packs. I fiugred that InfoExchange was probably too simple to make use of XMLLingua, but that [[Eliberation]] might benefit from the language packs (as well as a rewrite necessary to use such packs) as there was already an Italian usergroup rather excited about the prospects of E-Liberate. I had also been approached after a lecture by a group from a computer lab building community software that was interested - but they never returned my emails.

=== Why XML? ===
~- XML is human readable
~- It solves any UTF issues
~- Just about every sane language has a standard way of dealing w/ XML
~- It's not as hackish as most parser/generators
~- It's not proprietary
~- DTD/Schema (XSD) validation ensures correctness
~- XSLT allows for pretty printing/display
~- It's flexible
~- Gettext (heh)
~- XML tools (in theory) support multi-byte characters

=== A sample dictionary ===
%%(xml)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE package SYSTEM "dtd/language.dtd">
<package author="Greg Feigenson" version="1" description="Language package 1">
<lang tag="en_us">
<description>English: United States</description>
<dictionary>
<entry key="welcome">Welcome aboard Dave</entry>
<entry key="username">Hal9000</entry>
<entry key="test">Would you like to hear a song I learned in school?</entry>
<entry key="error">I'm sorry Dave, I'm afraid I can't do that</entry>
<entry key="success">Action successful</entry>
</dictionary>
</lang>
</package>
%%


=== Project Status ===
~- XMLLingua PHP4 {{colour hex="#61B329" text="Release"}}
~- XMLLingua PHP5 {{colour hex="#C67171" text="Planning"}}
~- XMLLingua Tools C# {{colour hex="#C6A111" text="Beta"}}
~- XMLLingua Tools Java {{colour hex="#C67171" text="Planning"}}
~- XMLLingua utils {{colour hex="#C67171" text="Planning"}}
~- XMLLingua <--> Information Exchange utility {{colour hex="#C67171" text="Planning"}}

=== Links ===
~- XMLLingua PHP4
~~- [[http://epiphanic.org/files/xml_lingua_php4.tar.gz Download Tar/GZ]]
~~- [[http://epiphanic.org/files/xml_lingua_php4.zip Download zip]]
~~- [[XMLLinguaPHP4ScreenShots Screenshots]]
~~- [[http://epiphanic.org/files/language.xsd XML Lingua Schema]]

~- Documentation
~~- [[XMLLinguaLicensing Licensing information]]
~~- [[XMLLinguaInstallation Installation information]]

----
This page is [[CategoryXMLLingua]]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki