Translation API / Services

All about creating websites!
Post Reply
User avatar
z3r0aCc3Ss
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 700
Joined: 23 Jun 2009, 16:00
14
Contact:

Translation API / Services

Post by z3r0aCc3Ss »

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.
Beta tester for major RATs, all kinds of stealers and keyloggers.
Learning NMAP

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Re: Translation API / Services

Post by ayu »

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

Code: Select all

http://www.bitrepository.com/php-how-to-add-multi-language-support-to-a-website.html
or you can use gettext

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/
If you're using some kind of framework like CodeIgniter it would usually have the feature built in

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"

Post Reply