Post by hawkey » Sat Oct 16, 2010 7:56 am

Hi folks

When I want to add multiple languages, is it possible to add them different URL without creating special stores?

For example I have petshop.com in english and I want german version not only by selecting language. I want it directly on petshop.de in german.

I know I can create other store, point petshop.de to the same place and make german default... But I will have to add all of products to both stores and maintain it twice.

It would be nice to have multiple languages in one store and change URL by switching language...

Thanks

Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart


Active Member

Posts

Joined
Sun Apr 25, 2010 12:10 am
Location - Olomouc, Czech Republic, Europe

Post by jones » Sat Oct 16, 2010 1:19 pm

For example I have petshop.com in english and I want german version not only by selecting language. I want it directly on petshop.de in german
petshop.com and petshop.de are two different domain names. will be better if you install two OC on each other. then for each domain name you need activated one language according on the domain extension. then for each language just create link that point to domain name.

of course doing this you need to disable the original drop down languange and change this with language link in your .tpl file. on e.g. header.tpl, footer.tpl or category.tpl

as far as i know languages switcher on OC handled with ajax/jquery so you can't find the different urls for different languages without change the core files related to it.

Active Member

Posts

Joined
Tue Aug 24, 2010 1:05 pm

Post by Qphoria » Sat Oct 16, 2010 1:57 pm

Seems very pointless. For one, Opencart handles multiple languages in one store very well. And then you have 2 separate sites with separate google rankings and any paid inclusion gets split when you could focus it all on one store. Best idea is stick with one store and use 2 languages.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jones » Sat Oct 16, 2010 2:26 pm

Qphoria wrote:Seems very pointless. ....... Best idea is stick with one store and use 2 languages.
i agree very pointless but hawkey asked using 2 lang with 2 diff domains(urls) or more but one OC core.

Active Member

Posts

Joined
Tue Aug 24, 2010 1:05 pm

Post by hawkey » Sat Oct 16, 2010 4:08 pm

Yes. I want two languages on two domains with one core. I undrestand you but it is for Czech and Slovak republic and Slovaks will not go to czech domain because they are too proud so I can not make slovavk language on czech domain :)

Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart


Active Member

Posts

Joined
Sun Apr 25, 2010 12:10 am
Location - Olomouc, Czech Republic, Europe

Post by jones » Sat Oct 16, 2010 10:27 pm

unfortunately I don't have any idea about it... as i said:
as far as i know languages switcher on OC handled with ajax/jquery so you can't find the different urls for different languages without change the core files related to it.

Active Member

Posts

Joined
Tue Aug 24, 2010 1:05 pm

Post by jty » Sun Oct 17, 2010 9:56 pm

hawkey wrote:I know I can create other store, point petshop.de to the same place and make german default... But I will have to add all of products to both stores and maintain it twice.
I'm not understanding why it is difficult to add products to more than one store
In 1.4.9, all you have to do it click the Select All checkbox to assign the products to all stores.
Initially, it would be a pain as you have to go through each product and click the Select All but after that, it would be a no-thing.
You could even use SQL to assign all products to the new store so you don't have to do it one product at a time when you first implement. After that just click Select All for new products
What am I missing

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by 24leaves.com » Sun Jul 31, 2011 6:17 pm

Google doesn't inde3x other language but the main one. The ideea of having another store on another URL is weird but for now this is the only solution for SEO.

http://www.24leaves.com
Image


Newbie

Posts

Joined
Thu Jul 21, 2011 2:45 am

Post by lyman » Sun Aug 14, 2011 8:08 pm

Do you remember when you add language, there is a code for each languge. like English is "en"
Chinese is "cn",

So when you want to go to the english site the full URL should be:

http://yourdomain.com/opencat/index.php?language=en

and Chinese site is


http://yourdomain.com/opencat/index.php?language=cn

Newbie

Posts

Joined
Sun Aug 14, 2011 9:09 am

Post by Punisher28 » Tue Oct 25, 2011 2:09 am

I need this too for my multi-language webshop.
Is there a solution for this?

Newbie

Posts

Joined
Fri Jul 16, 2010 5:04 am

Post by mediaindustries » Tue Nov 13, 2012 3:40 pm

Anyone found a solution yet?

What I would like to fix:

Domain1.com - main opencart installation with multiple languages installed - default language is english
Domain1.nl - points to domain1.com and shows the default english language but needs to show directly the dutch language which is installed.

I already know how to set up the multistore by using domain pointers but I can't fix this language issue.

What I did found was this vqmod: http://www.opencart.com/index.php?route ... on_id=6424

With this vqmod every language has its own URL. For example domain.com/nl. It's a solution but for SEO I would like to have a main URL for each language.

Thanks in advance.

User avatar
New member

Posts

Joined
Mon Mar 05, 2012 10:36 pm
Location - The Netherlands

Post by bigbrother72 » Tue Nov 13, 2012 8:19 pm

hello
i setup http://mydomain.com as default store and english as default language (russian second language)

now I have added http://ru.mydomain.com and with russian as default language.

but no effect -when i enter on http://ru.mydomain.com - there is an English by default

Newbie

Posts

Joined
Wed Nov 11, 2009 1:10 am

Post by bigbrother72 » Wed Nov 14, 2012 8:43 pm

soory - all work ok - just clear cookies

Newbie

Posts

Joined
Wed Nov 11, 2009 1:10 am

Post by Viach » Sun Jun 16, 2013 5:46 pm

lyman wrote:Do you remember when you add language, there is a code for each languge. like English is "en"
Chinese is "cn",

So when you want to go to the english site the full URL should be:

http://yourdomain.com/opencat/index.php?language=en

and Chinese site is


http://yourdomain.com/opencat/index.php?language=cn
It is not working now (v1.5.4 ).
How I can force change language (and currency) from URL?
Is is possible?

Newbie

Posts

Joined
Tue Dec 07, 2010 4:32 pm

Post by slebote » Mon Apr 04, 2016 1:00 am

Hello,

I tortured myself into this issue because I had the same demand from a customer : handle languages on each stores with only one Opencart core.

I have to admin it was not an easy task because of several core functionnalities like language detection but it totally worth it for a very simple administration : only 1 product for every stores.

If you are interested in my module you can find it here : http://www.opencart.com/index.php?route ... n_id=26264

For now it supports Opencart version 1.5.4 to the last one (2.2.0.0).

A quick screenshot :

Image

Regards,
slebote

Newbie

Posts

Joined
Thu Mar 24, 2016 6:26 am
Who is online

Users browsing this forum: Amazon [Bot], darkhorse, RiguPhoto and 199 guests