PHP Translate (Miscellaneous)

PHP Translate is a very simple but useful class.

Why PHP Translate?

60+ languages support

Lightweight and fast

This is easy in use

Intuitive translation method

Google Translate based solution

You can define default settings for translations (input encoding, output encoding, input language and output language).

You can define individual settings for each translation.

Installation

<?php
include('lib/translator.class.php');

$translator = new Translator();
$translation = $translator -> Translate('Witaj ?wiecie', 'pl', 'en');

//this example displays 'Hello World'
echo $translation;
?>

Files included

  • Class file.
  • Demo.

Download PHP Translate (Miscellaneous)

Leave a Reply

Your email address will not be published. Required fields are marked *