PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Adapters for Zend_Translate

Zend_Translate can handle different adapters for translation. Each adapter has its own advantages and disadvantages. Below is a comprehensive list of all supported adapters for translation source files.

Table 169. Adapters for Zend_Translate

Adapter Description Usage
Array Use PHP arrays Small pages; simplest usage; only for programmers
Csv Use comma separated (*.csv/*.txt) files Simple text file format; fast; possible problems with unicode characters
Gettext Use binary gettext (*.mo) files GNU standard for linux; thread-safe; needs tools for translation
Ini Use simple INI (*.ini) files Simple text file format; fast; possible problems with unicode characters
Tbx Use termbase exchange (*.tbx/*.xml) files Industry standard for inter application terminology strings; XML format
Tmx Use tmx (*.tmx/*.xml) files Industry standard for inter application translation; XML format; human readable
Qt Use qt linguist (*.ts) files Cross platform application framework; XML format; human readable
Xliff Use xliff (*.xliff/*.xml) files A simpler format as TMX but related to it; XML format; human readable
XmlTm Use xmltm (*.xml) files Industry standard for XML document translation memory; XML format; human readable
Others *.sql Different other adapters may be implemented in the future

Zend Framework