View on GitHub

Simple-php-translate

A PHP component to use localised text resources into web pages.

Download this project as a .zip file Download this project as a tar.gz file

SimplePhpTranslate

SimplePhpTranslate is a PHP component and it allows you to easily insert translated text into web pages.

Motivation

SimplePhpTranslate is a simple (quick and dirty?) solution when you need some translation mechanism in a PHP project and cannot/don't want to use a more structured translation framework.
Think of scenarios like:

Code Example

Please have a look at fully commented source code in sample-client directory.

For a working example, please have a look at test directory. You can fire-up your web server and browse to index.html in that directory. If you like, you can find test page setup instructions for Apache under the Deploy\Dev\Web Server directory.

Contributors

pygy for his Romantic WTF Public License; jxson for his Readme.md template.

Copyright and license

Copyright (C) 2014 BrainCrumbz.

Romantic WTF Public License

Fork it

Your contributions are always welcome!