I want to use translation service for my project. Google has a nice and free translation API, but it has limitations of number of character conversions per day.
I don't even mind paying for it, but do you know any other such good service for translation?
I need translation on click of button or event, or on-the-fly translation as you start typing.
Project is based on PHP and JS.
Any help would be appreciated.
Translation API / Services
- z3r0aCc3Ss
- Fame ! Where are the chicks?!
- Posts: 700
- Joined: 23 Jun 2009, 16:00
- 14
- Contact:
Translation API / Services
Beta tester for major RATs, all kinds of stealers and keyloggers.
Learning NMAP
Learning NMAP
Re: Translation API / Services
You could always provide the translations yourself.
That way you have more control of how the user will view the site.
If you use pure PHP you could make something custom like the following
or you can use gettext
If you're using some kind of framework like CodeIgniter it would usually have the feature built in
* Some of the material above is rather old but should still be usable. Translation in PHP hasn't really changed much in the last 10 years as far as I know.
That way you have more control of how the user will view the site.
If you use pure PHP you could make something custom like the following
Code: Select all
http://www.bitrepository.com/php-how-to-add-multi-language-support-to-a-website.html
Code: Select all
http://php.net/manual/en/book.gettext.php
http://www.onlamp.com/pub/a/php/2002/06/13/php.html
http://mel.melaxis.com/devblog/2005/08/06/localizing-php-web-sites-using-gettext/
Code: Select all
https://ellislab.com/codeigniter/user-guide/libraries/language.html
* Some of the material above is rather old but should still be usable. Translation in PHP hasn't really changed much in the last 10 years as far as I know.
"The best place to hide a tree, is in a forest"