Post by Qphoria » Mon Oct 19, 2009 1:24 am

AS OF OPENCART v1.4.8, THIS IS PART OF THE CORE. NO NEED TO APPLY THIS MOD ANYMORE

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


Main features:
==============
* Allows passing of language code into the url:
(http://mysite.com/shop/index.php?lang=de)
(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

Attachments


Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Thu Oct 22, 2009 9:02 pm

Anyone having problems with this? If not, I'll go ahead and add it to the contrib repository

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by OC2PS » Sun Nov 29, 2009 6:29 am

Somehow just saw this - didn't get email notification of your reply to my message. I'll download and install right now. This is a Godsend, you are a God! Thanks!

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by tarkanlar » Tue Dec 08, 2009 5:11 am

WORKS GREAT!!

New member

Posts

Joined
Sun Nov 22, 2009 8:17 am

Post by karlpers » Thu Mar 04, 2010 8:25 am

Will the make it possible to appear in search engines in two different languages as well?

Active Member

Posts

Joined
Tue Jun 09, 2009 10:35 pm

Post by OC2PS » Fri Mar 05, 2010 9:32 am

You will need to tell google to not ignore lang variable...you can do this in google webmaster tools

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by Qphoria » Fri Mar 05, 2010 11:17 am

This won't work with 1.4.0 or later as the language system has changed

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by filipb » Fri Apr 09, 2010 11:10 am

How could you take away this possibility?? shouldnt this way be standard?

New member

Posts

Joined
Mon Apr 05, 2010 6:03 am

Post by Qphoria » Fri Apr 09, 2010 2:01 pm

Added to the next version of OpenCart

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by filipb » Fri Apr 09, 2010 11:03 pm

Are there a date on this, please let us all know as I guess many people are waiting for this ?

New member

Posts

Joined
Mon Apr 05, 2010 6:03 am

Post by Qphoria » Fri Apr 09, 2010 11:05 pm

Saturday, April 10, 2010

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by filipb » Sat Apr 10, 2010 9:42 pm

Will it be released today? :)

New member

Posts

Joined
Mon Apr 05, 2010 6:03 am

Post by Qphoria » Sat Apr 10, 2010 10:17 pm

As the date says

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by i2Paq » Sat Apr 10, 2010 10:35 pm

It works like a charm! ;)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Qphoria » Thu Apr 29, 2010 8:39 am

What do you need to find?
Add "&language=xx" to your url and be done with it.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by alvalong » Tue May 04, 2010 9:42 pm

thanks so much.
but how to put it this way site.com/en site.com/fr ? language=xx is not good url. can u tell me which files to change? i can change it if anyone like it, i will post it on forum.

Newbie

Posts

Joined
Thu Apr 29, 2010 5:05 am

Post by Qphoria » Tue May 04, 2010 10:10 pm

You would have to add SEO code to handle language=fr and change it to fr.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by alvalong » Sat May 08, 2010 2:45 am

where is the seo code? where to add the seo code? which files i should change? thanks

Newbie

Posts

Joined
Thu Apr 29, 2010 5:05 am

Post by pvl » Mon Sep 20, 2010 7:21 pm

Hi all,
I tried to open the zip file but can't. It seems to be corrupted. Can you repair it please ?
Thankx !

pvl
Newbie

Posts

Joined
Mon Sep 20, 2010 7:19 pm

Post by Xsecrets » Mon Sep 20, 2010 8:44 pm

pvl wrote:Hi all,
I tried to open the zip file but can't. It seems to be corrupted. Can you repair it please ?
Thankx !
If I'm not mistaken all the functionality of this has already been added in 1.4.8 and newer.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US
Who is online

Users browsing this forum: No registered users and 45 guests