Jump to content

Show Languages as subdomains


aligulbay

Recommended Posts

Hello

 

is there any way to show languages as on subdomains with a single website.

For example,

 

mysite.com/en to en.mysite.com

mysite.com/fr to fr.mysite.com

 

I saw a module, but it is redirect languages to subdomains with seperate prestashop installation.

My question redirect them to a single installation.

 

Thanks

Link to comment
Share on other sites

Hi,

I don't know if that can be done, but! You can try a little trick. If you're using 1.5, you can setup a virtual store for each of the languages. Of course, they will share the same catalog, themes, options, etc. Then, you only allow one language per shop, corresponding to the selected subdomain.

 

Then, you setup a custom "language" module, where you point to your subdomains with little flags, intead of just changing the current language.

 

There maybe is a better way to do it, but i think this way can also be a solution

 

Hope i helped

 

Cheers!

Link to comment
Share on other sites

  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...