I've appreciated in the last release (1.4.7) the possibility to setting the language from url appending the parameter &language=en
now I would like to know how to set opencart to have all the urls with the language parameter included by default (just a suggestion where to start).
Thanks!
now I would like to know how to set opencart to have all the urls with the language parameter included by default (just a suggestion where to start).
Thanks!
If you set it once, it will use that for the rest of the session so if you goto:
www.site.com/index.php?language=en
then
www.site.com/index.php (it will still be in en)
if you goto
www.site.com/index.php?language=de
then
www.site.com/index.php (it will still be in de)
So you shouldn't need to keep it there.
www.site.com/index.php?language=en
then
www.site.com/index.php (it will still be in en)
if you goto
www.site.com/index.php?language=de
then
www.site.com/index.php (it will still be in de)
So you shouldn't need to keep it there.
yes, but I would like to have a structure with unique urls
e.g. yahoo index the site in english, google in italian. I've provided the urls with the language parameter so they index also other languages but I've a lot of duplicated pages, so I was thinking that unique urls could simplify everything
e.g. yahoo index the site in english, google in italian. I've provided the urls with the language parameter so they index also other languages but I've a lot of duplicated pages, so I was thinking that unique urls could simplify everything
With the old url library class, this could have been done easier. It was decided to remove the url class and now it limits things. So to do it, you will likely need to edit every single file and add it. So there is no longer a good way. I'll see about adding the url class back in as this is just one of many limitations that has occurred because of that decision and nobody has found any good in removing it.
I'd like to restore it and use it for SEO so that ALL links can be SEO'd dynamically. In ChromiumCart I added an SEO Generator that would actually generate the seo from the name
So
http://www.mysite.com/index.php?route=p ... duct_id=50
was something like:
http://www.mysite.com/product/product/ipod-nano
and
http://www.mysite.com/index.php?route=common/home
would be something like:
http://www.mysite.com/common/home
This would replace the model/tool/seo_url.php file which I've never liked anyway because it is very hardcoded and only works with products, categories, & information instead of being more universal.
So
http://www.mysite.com/index.php?route=p ... duct_id=50
was something like:
http://www.mysite.com/product/product/ipod-nano
and
http://www.mysite.com/index.php?route=common/home
would be something like:
http://www.mysite.com/common/home
This would replace the model/tool/seo_url.php file which I've never liked anyway because it is very hardcoded and only works with products, categories, & information instead of being more universal.
How does this work with 1.5.0?
For front and Admin?
For front and Admin?
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.
Agreed. This is one of the main reasons I can't switch to OpenCart yet.
I need URLS like so:
http://www.domain.com/es/catalog
http://www.domain.com/fr/catalog
http://www.domain.com/it/catalog
for each language.
Having cookies dictate the language doesn't work for me, does this mean that I need to set up several separate stores? If so, can they tie into the same products database? Any suggestions?
I need URLS like so:
http://www.domain.com/es/catalog
http://www.domain.com/fr/catalog
http://www.domain.com/it/catalog
for each language.
Having cookies dictate the language doesn't work for me, does this mean that I need to set up several separate stores? If so, can they tie into the same products database? Any suggestions?
Hi,mfive wrote:Agreed. This is one of the main reasons I can't switch to OpenCart yet.
I need URLS like so:
http://www.domain.com/es/catalog
http://www.domain.com/fr/catalog
http://www.domain.com/it/catalog
for each language.
Having cookies dictate the language doesn't work for me, does this mean that I need to set up several separate stores? If so, can they tie into the same products database? Any suggestions?
Same here. Although I would need:
http://www.domain.com/en/catalog/product/apple
http://www.domain.com/de/kataloge/produkt/apfel
http://www.domain.com/hu/katalogus/termek/alma
Is this possible? I really want to use OpenCart but this is a problem for me as of now
Other than this OpenCart is awesome!!!
+1cyjambo wrote:Hi,mfive wrote:Agreed. This is one of the main reasons I can't switch to OpenCart yet.
I need URLS like so:
http://www.domain.com/es/catalog
http://www.domain.com/fr/catalog
http://www.domain.com/it/catalog
for each language.
Having cookies dictate the language doesn't work for me, does this mean that I need to set up several separate stores? If so, can they tie into the same products database? Any suggestions?
Same here. Although I would need:
http://www.domain.com/en/catalog/product/apple
http://www.domain.com/de/kataloge/produkt/apfel
http://www.domain.com/hu/katalogus/termek/alma
Is this possible? I really want to use OpenCart but this is a problem for me as of now
Other than this OpenCart is awesome!!!
I'd also like to see such language switch support from OC.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus
All mods & extensions by me
It was removed by daniel... I tried to fight him on it but he wouldn't budge.. I recommend complaining to himarames wrote:Guys,
if the
index.php?language=en
or
index.php?language=de
is NOT switching to the language where could the error be?
I am using OpenCart 1.5.2.1
Pleeeeeeeeeeeeease any help on the right direction would mean a lot.
Thank you
For now you can follow this post to add it back
http://forum.opencart.com/viewtopic.php?t=57516#p272365
I am currently investigating in how this could be (easily) achieved. Is someone able to give some leads to a possible solution?mfive wrote:Agreed. This is one of the main reasons I can't switch to OpenCart yet.
I need URLS like so:
http://www.domain.com/es/catalog
http://www.domain.com/fr/catalog
http://www.domain.com/it/catalog
for each language.
Having cookies dictate the language doesn't work for me, does this mean that I need to set up several separate stores? If so, can they tie into the same products database? Any suggestions?
I am also dying to have this
http://www.domain.com/es/catalog
http://www.domain.com/fr/catalog
http://www.domain.com/it/catalog
but ONLY QPHORIA can help us. And God of course
Hopefully one of them will post a message here to fix this, since it is very important for all of us to have google index our store in different languages / folders..
http://www.domain.com/es/catalog
http://www.domain.com/fr/catalog
http://www.domain.com/it/catalog
but ONLY QPHORIA can help us. And God of course
Hopefully one of them will post a message here to fix this, since it is very important for all of us to have google index our store in different languages / folders..
Well first you need to add the language url function back
that will give you
Then I'm not sure but maybe using url rewrite to change
mysite.com/de/index.php
to
mysite.com/index.php?language=de
but I'm no pro on htaccess changes.
that will give you
Code: Select all
http://www.mysite.com/index.php?language=de
mysite.com/de/index.php
to
mysite.com/index.php?language=de
but I'm no pro on htaccess changes.
Who is online
Users browsing this forum: No registered users and 36 guests