WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

Translate PHP class

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


Translate PHP class - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

Description

Translate is an easy but flexible PHP class to help you to create multilangual websites. It consist only of one class.php file and as many language files as you want. The simple structure makes it easy to add additional languages. Translate can automatically detect the browser language, supports placeholder in your predefined texts and allowes to define a fallback language. Give it a try and you will see how easy it is to create multilanguage websites.

Installation

The integration or better the necessary preparation of “Translate” to use multiple languages is very simple. Only 3 lines of code are enough: require_once (‘Translate/Translate_class.php’); $translate = new translate(); $translate->setBrowserLanguage();

Features

  • Ready to use with 3 lines of code
  • easy to extend with new languages (just copy an existing language file)
  • simple structure (translate_class.php and the language files.)
  • no errors because of a defined fallback language
  • detects the browser language of the user automatically or via the IP address
  • text parts can contain placeholders for variables

Please help me

If you are going to rate the script less than 5 stars, please tell me what I can do to make it 5 stars for you and I will fix it. I would love to hear your suggestions on how I could improve the script, leave me a comment or send me an email and your suggestion might make it in to a future version!

Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
10 November 12

Last Update:
N/A

High Resolution:
No

Compatible Browsers:
IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome

Files Included:
PHP

Software Version:
PHP 5.x

Keywords

eCommerce, All Items, Multilangual, class, language, oop, php, translate