Additions:
~- XML tools (in theory) support multi-byte characters
Additions:
~- DTD/Schema (XSD) validation ensures correctness
~~- [[http://epiphanic.org/files/language.xsd XML Lingua Schema]]
~~- [[http://epiphanic.org/files/language.xsd XML Lingua Schema]]
Deletions:
Additions:
<< NEEDS RECOVERY << ::c::
Additions:
~- XMLLingua Tools C# {{colour hex="#C6A111" text="Beta"}}
~- XMLLingua <--> Information Exchange utility {{colour hex="#C67171" text="Planning"}}
~- XMLLingua <--> Information Exchange utility {{colour hex="#C67171" text="Planning"}}
Deletions:
Revision [460]
Edited on 2006-04-02 19:11:58 by KogAdmin [screenshots are no longer coming soon, but here]Additions:
~~- [[XMLLinguaPHP4ScreenShots Screenshots]]
Deletions:
Additions:
=== 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>
%%
%%(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>
%%
Additions:
~- 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 validation ensures correctness
~- XSLT allows for pretty printing/display
~- It's flexible
~- Gettext (heh)
~- 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 validation ensures correctness
~- XSLT allows for pretty printing/display
~- It's flexible
~- Gettext (heh)
Deletions:
~2 It solves any UTF issues
~3 Just about every sane language has a standard way of dealing w/ XML
~4 It's not as hackish as most parser/generators
~5 It's not proprietary
~6 DTD validation ensures correctness
~7 XSLT allows for pretty printing/display
~8 It's flexible
~9 Gettext (heh)
Additions:
{{lastedit show="3"}}
~- 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]] {{colour hex="#C67171" text="Coming soon"}}
~- 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]] {{colour hex="#C67171" text="Coming soon"}}
Deletions:
~~- XMLLingua PHP4 Toolset
~~~- [[http://epiphanic.org/files/xml_lingua_php4.tar.gz XMLLingua PHP4 compat Tar/GZ]]
~~~- [[http://epiphanic.org/files/xml_lingua_php4.zip XMLLingua PHP4 compat zip]]
~~- [[XMLLinguaScreenShots Screen shots]]
Revision [430]
Edited on 2006-03-31 23:41:36 by KogAdmin [documentation link cleanup, release cleanup]Additions:
~~- XMLLingua PHP4 Toolset
~~~- [[http://epiphanic.org/files/xml_lingua_php4.tar.gz XMLLingua PHP4 compat Tar/GZ]]
~~~- [[http://epiphanic.org/files/xml_lingua_php4.zip XMLLingua PHP4 compat zip]]
~~~- [[http://epiphanic.org/files/xml_lingua_php4.tar.gz XMLLingua PHP4 compat Tar/GZ]]
~~~- [[http://epiphanic.org/files/xml_lingua_php4.zip XMLLingua PHP4 compat zip]]
Deletions:
~~- [[http://epiphanic.org/files/xml_lingua_php4.zip XMLLingua PHP4 compat zip]]
~~- [[XMLLinguaHelp Help]]
~~- [[XMLLinguaDevelopment Development Information]]
~~- [[XMLLinguaBugs Bug Tracking]]
~~- [[XMLLinguaFeatures Feature Requests]]
Additions:
==== XMLLingua Project Page ====
=== 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? ===
~1 XML is human readable
~2 It solves any UTF issues
~3 Just about every sane language has a standard way of dealing w/ XML
~4 It's not as hackish as most parser/generators
~5 It's not proprietary
~6 DTD validation ensures correctness
~7 XSLT allows for pretty printing/display
~8 It's flexible
~9 Gettext (heh)
=== Project Status ===
~- XMLLingua PHP4 {{colour hex="#61B329" text="Release"}}
~- XMLLingua PHP5 {{colour hex="#C67171" text="Planning"}}
~- XMLLingua Tools C# {{colour hex="#C67171" text="Planning"}}
~- XMLLingua Tools Java {{colour hex="#C67171" text="Planning"}}
~- XMLLingua utils {{colour hex="#C67171" text="Planning"}}
=== Links ===
~- Release related
~~- [[http://epiphanic.org/files/xml_lingua_php4.tar.gz XMLLingua PHP4 compat Tar/GZ]]
~~- [[http://epiphanic.org/files/xml_lingua_php4.zip XMLLingua PHP4 compat zip]]
~- Documentation
~~- [[XMLLinguaScreenShots Screen shots]]
~~- [[XMLLinguaLicensing Licensing information]]
~~- [[XMLLinguaInstallation Installation information]]
~~- [[XMLLinguaHelp Help]]
~~- [[XMLLinguaDevelopment Development Information]]
~~- [[XMLLinguaBugs Bug Tracking]]
~~- [[XMLLinguaFeatures Feature Requests]]
=== 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? ===
~1 XML is human readable
~2 It solves any UTF issues
~3 Just about every sane language has a standard way of dealing w/ XML
~4 It's not as hackish as most parser/generators
~5 It's not proprietary
~6 DTD validation ensures correctness
~7 XSLT allows for pretty printing/display
~8 It's flexible
~9 Gettext (heh)
=== Project Status ===
~- XMLLingua PHP4 {{colour hex="#61B329" text="Release"}}
~- XMLLingua PHP5 {{colour hex="#C67171" text="Planning"}}
~- XMLLingua Tools C# {{colour hex="#C67171" text="Planning"}}
~- XMLLingua Tools Java {{colour hex="#C67171" text="Planning"}}
~- XMLLingua utils {{colour hex="#C67171" text="Planning"}}
=== Links ===
~- Release related
~~- [[http://epiphanic.org/files/xml_lingua_php4.tar.gz XMLLingua PHP4 compat Tar/GZ]]
~~- [[http://epiphanic.org/files/xml_lingua_php4.zip XMLLingua PHP4 compat zip]]
~- Documentation
~~- [[XMLLinguaScreenShots Screen shots]]
~~- [[XMLLinguaLicensing Licensing information]]
~~- [[XMLLinguaInstallation Installation information]]
~~- [[XMLLinguaHelp Help]]
~~- [[XMLLinguaDevelopment Development Information]]
~~- [[XMLLinguaBugs Bug Tracking]]
~~- [[XMLLinguaFeatures Feature Requests]]
Deletions:
Theoretically you can write software in nearly any language to facilitate creation of the package. When you're done with the packages then you need to figure out how to integrate them into your application. My suggestion, and my current usage, is to use phrase tokens like $dict[key], but I'm not quite sure this is the easiest way... I'll have to do more thinking.
FIXME: doesn't work on PHP5, the current test environment
Additions:
FIXME: doesn't work on PHP5, the current test environment