Page 1 of 1
[How To] Install Language Pack in Subdirectory on Localhost
Posted: Wed Jun 27, 2012 2:36 pm
by thom
Dear All,
I've installed OpenCart v1.5.3.1 on WAMP, and I'd like to know how to install a new language pack (i.e, French) into a subdirectory (or subfolder).
When clicking on the French flag on the Store Front, the URL structure would be
http://localhost/MySite/fr/.
This task may seem easy for some, but if someone could provide a step-by-step guide "for Dummies", it would be much appreciated.
Re: [How To] Install Language Pack in Subdirectory on Localh
Posted: Wed Jun 27, 2012 3:15 pm
by menorcarob
all i did was install the files in admin and catalog, then go to admin/system/localisation/language then insert and just put in all the details and save
Re: [How To] Install Language Pack in Subdirectory on Localh
Posted: Wed Jun 27, 2012 4:13 pm
by thom
@menorcarob
Thank you for your fast reply. This procedure will just change the language in the Store Front, but not the URL structure. The idea behind installing the new language into a subdirectory (or subfolder) is to separate the languages, in order to keep the content for each language on separate URLs. On an SEO point of view, this procedure is recommended for multilingual websites (Read "Multi-regional and multilingual sites":
http://support.google.com/webmasters/bi ... wer=182192).
Anyone ?
Re: [How To] Install Language Pack in Subdirectory on Localh
Posted: Wed Jun 27, 2012 5:28 pm
by menorcarob
then i think you would have to create a site for each language, or maybe you could do it by having more than one shop and then the language button diverts to that folder
Re: [How To] Install Language Pack in Subdirectory on Localh
Posted: Wed Jun 27, 2012 7:33 pm
by thom
@menorcarob
These could be alternatives... however there's an easier way such as organizing the languages in directories (i.e, mysite.com/ru/, mysite.com/fr/, mysite.com/cn/). In theory it seems easy, but in practice...it's driving me nuts. I've searched in the OpenCart forum, Googled it, praised it... found nothing.
Re: [How To] Install Language Pack in Subdirectory on Localh
Posted: Sat Jun 30, 2012 8:00 am
by nivinngaavik
Hi menorcarob.
Well, I've translated and installed danish language, put'em in catalog/language and admin/language, inserted locale and details and it seems ok.... However, whenever I try to view the product page I cannot see the product... I get a message that says the there's something wrong, for instance this:
http://www.nivinngaavik.gl/iShop/index. ... duct_id=42 with the words that tells me it's not configured correctly... Any ideas?
Thx,
Daniel
Re: [How To] Install Language Pack in Subdirectory on Localh
Posted: Sat Jun 30, 2012 3:01 pm
by menorcarob
that link is not opencart