If you are looking for free alternative to Google Translate API and you don’t want to pay for translations this PHP class will solve your translation problems and needs.
Supported Languages
Auto Language Detection (auto) English (en) Turkish (tr) Arabic (ar) Bulgarian (bg) Catalan (ca) Albanian (sq) Croatian (hr) Czech (cs) German (de) Greek (el) Danish (da) Polish (pl) Dutch (nl) Estonian (et) Filipino (tl) Italian (it) Finnish (fi) French (fr) Hindi (hi) Hungarian (hu) Indonesian (id) Japanese (ja) Korean (ko) Latvian (lv) Lithuanian (lt) Maltese (mt) Norwegian (no) Persian Alpha (fa) Portuguese (pt) Romanian (ro) Russian (ru) Serbian (sr) Slovak (sk) Slovenian (sl) Spanish (es) Swedish (sv) Thai (th) Ukrainian (uk) Vietnamese (vi)
Note: This PHP Class is using another API to detect language automatically (if needed & selected). If detected language is in supported languages then gets the most reliable language which is detected and translates. It doesn’t effect caches or logs.
Note: API which this PHP class is using has bad word filter therefore it may not translate abusive words. I noticed some people are trying to translate abusive words, I just wanted to mention why it is not translating.
Please Don’t Forget If you have any problems with this PHP class please don’t forget to inform me before rating it under 5 stars. I will do my best to assist you and solve the problem you have.
If you want me to help you fast, please don’t forget to contact me form here.
Change Log Version 1.4.1 (18.05.2013)
Adapted to new Translate API character limit.
Version 1.4 (03.12.2012)
Detect Language API has been departed. This version includes new changes for new Detect Language API.
Version 1.3 (01.17.2012)
Auto Language Detection (using another API)
translate method improved.
Version 1.2 (01.15.2012)
Ability to translate more than 1000 characters. Ability to define delimiter for translations more than 1000 chracters.
translate method improved.
Version 1.1 (01.10.2012)
Enable/Disable Caching Enable/Disable Usage Logs Machine Translation / Human Segments Can work without cURL Use IP address of visitors for high volume usage