Improved Language Library
Supported OpenCart Versions:
v1.2.6, v1.2.7, v1.2.8, v1.2.9, v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4
What does it do:
This library replaces the default "language" library in OpenCart. This new library adds new features to improve the user experience and prevent errors
* Allows passing of language code into the url:
(http://mysite.com/shop/index.php?route= ... controller&lang=de)
It is smart enough to check that the language exists first. If it does not exist, it will just reload the current language.
* Adds fallback to default language (english by default)
For example: If there are 2 languages on your site (ex: english & german), and you install a mod with only english language included, normally if you switch to german, it will throw a fatal error that it couldn't find the german version of the file. Now it will load the english language version instead of giving the error. Having an english version is better than an error and gives you time to fix it without losing customers.
* Won't break anything. Works with all versions.
How to install it:
1) Unzip and upload the contents of the upload folder to the root of your OpenCart install.
-- Overwrite the existing language.php file