Jump to content

Showing wrong language mulitshop front office


Recommended Posts

Hi there,


 


I have a problem with my default language.


 


I am using the multistore function and want to use English only for one of my stores, therefore I did the following:


Localization - Languages - "Check only English for this store"


 


Problem is that the language is now not english (but danish like my other stores) -and English is the only enabled language for this store!?  (attached screen print)


 


What can I do? Is there a file that I can edit to force the language to english for this store?


post-455224-0-04741100-1409582292_thumb.png

Link to comment
Share on other sites

there have been reports that clearing the cache solved issue (also clear browser cache/cookie for that domain).

 

also when you went into localization->languages did you select the shop context you were working with?

 

Hi El Patron,

 

Thank you for your help, I deleted the content of the following folders:

  1. cache/smarty/compile
  2. cache/smarty/cache
  3. img/ tmp

except the index.php file in each folder

 

It worked !

Edited by alpe09ag (see edit history)
  • Like 1
Link to comment
Share on other sites

there have been reports that clearing the cache solved issue (also clear browser cache/cookie for that domain).

 

also when you went into localization->languages did you select the shop context you were working with?

 

Yesterday I was a little to quick to mention that the matter was solved.

 

A few hours later my site was Danish again. It seams like something is forcing my site to be Danish!

 

What I did now was to Enable a 3rd Language (Deutch) to see it this would change the matter (keeping Danish disabled).

According to my configuration my site should now give me an option between the 2 languages: English or Deutch.

 

But what happens is that it shows the page in Danish and then gives me options to select between English or Deutch. (see attached screen print)

 

I really hope that you can help me out here !? :)

 

 

 

language-issue.jpg

Link to comment
Share on other sites

sorry you still have issue.

 

I looked at shop, it has English | Danish selector.

 

09.03.2014-09.06.png

http://screencast.com/t/dE6etch7N

 

moving forward I think it good to explain from this screen shot, what you are trying to accomplish. 

 

 

Yes it does, but this is only because the store is running live so I had to switch it back again.

 

What I want is to have English only.

 

language-issue-2.jpg

 

As far as I can understand, what I should do is:  Backoffice->Localisation->Language click on Danish and uncheck the store aacopenhagen.com (and clear cache)

 

language-issue-3.jpg

 

But then my store is Danish only (and not English).

 

language-issue-4.jpg

Link to comment
Share on other sites

please pm me bo link with login credentials, so I can take a closer look.  1.5.5.0 is a tad old and I do not know if there was an issue fixed by 1.5.6.2 for example.

 

I have just send you a personal message with access to BO. Please note that this must only concern the store called "AA".

Link to comment
Share on other sites

Okay, I did what you told me to. The site is still Danish and not English.

 

(I will leave the settings like they are now for a half an hour and then I will enable Danish again to enable English :)  )

 

Hi, I see English, and no language prefix in URL, I am going by xlate of 'Cart' being in English.

 

09.03.2014-10.39.png

http://screencast.com/t/w2wwqniL

 

09.03.2014-10.41.png

http://screencast.com/t/OBVYxsLS7p

 

is this what you expected?

 

make sure to clear your cookie for that domain, the refresh.

Link to comment
Share on other sites

That is strange!

 

deleted the content of the following folders:

  1. cache/smarty/compile
  2. cache/smarty/cache
  3. img/ tmp

 

Then I cleared all cache and cookies "forever" in Chrome. Then opened Chrome in Incognito mode and Force refreshed the site. But the site is in Danish  :( 

 

language-issue-5.jpg

Edited by alpe09ag (see edit history)
Link to comment
Share on other sites

Any idea why you see the english version and I see the Danish version?

 

most likely there is some module/override or other non-native browser detect...

 

browser detect was not introduced until 1.5.6

 

without using ftp...looking at files...I can not explain otherwise.

 

tip: test, change your browser language to English, try again...

 

I did see some module dealing with languages language block mutlishop, do not no if this is causing affect or not.

Link to comment
Share on other sites

Any idea why you see the english version and I see the Danish version?

 

What happens when you go to this link:

http://aacopenhagen.com/161-all-models

 

When I click on that link I am being redirected to the danish version:

http://aacopenhagen.com/161-alle-modeller

 

that does not happen to me.  I see english, my browser top language is en-us.

 

tip: if you find issue with module/override/hack...(my suspicion is here)...then take a look at the best freaking language/currency detector, for PrestaShop on the planet. here

Link to comment
Share on other sites

most likely there is some module/override or other non-native browser detect...

 

browser detect was not introduced until 1.5.6

 

without using ftp...looking at files...I can not explain otherwise.

 

tip: test, change your browser language to English, try again...

 

I did see some module dealing with languages language block mutlishop, do not no if this is causing affect or not.

 

 

 

I deleted that module "Language block multishop" and changes my browser language to English. Still no luck.

 

I noticed another strange thing. In BO I can still edit all products in two languages, should this be possible after disassociating Danish?

 

language-issue-6.jpg

Edited by alpe09ag (see edit history)
Link to comment
Share on other sites

I deleted that module "Language block multishop" and changes my browser language to English. Still no luck.

 

I noticed another strange thing. In BO I can still edit all products in two languages, should this be possible after disassociating Danish?

 

www.nordicapparel.com/language-issue-6.jpg

 

yes, prestashop allows shop manager to define any number of languages, even if disabled then we can still work with that translation in back office, this allows one to create translations without showing in fo until ready.

 

as for deleting module etc..not all modules are created equal nor do we now if that is the issue or if so and you 'deleted' without uninstall that some part of module (if that is issue) is still present, check overrides folder/files for anything that looks like it's manipulating language.

Link to comment
Share on other sites

that does not happen to me.  I see english, my browser top language is en-us.

 

tip: if you find issue with module/override/hack...(my suspicion is here)...then take a look at the best freaking language/currency detector, for PrestaShop on the planet. here

 

 

I have another client that needs a module like this. I will recommend it straight away. But again, I only need one language  :)

Link to comment
Share on other sites

yes, prestashop allows shop manager to define any number of languages, even if disabled then we can still work with that translation in back office, this allows one to create translations without showing in fo until ready.

 

as for deleting module etc..not all modules are created equal nor do we now if that is the issue or if so and you 'deleted' without uninstall that some part of module (if that is issue) is still present, check overrides folder/files for anything that looks like it's manipulating language.

 

 

Okay, then it might be that other module that I have active for another store called "Location Detection for Prestashop".

 

Do you think thats it?

 

In case so, is there anything that I can do to keep this module active for that other store, but inactive for this store?

Edited by alpe09ag (see edit history)
Link to comment
Share on other sites

Okay, then it might be that other module that I have active for another store called "Location Detection for Prestashop".

 

Do you think thats it?

 

In case so, is there anything that I can do to keep this module active for that other store, but inactive for this store?

 

the module needs to be coded correctly to support multishop, i.e. enabled/disabled by shop.  most likely is issue, but then it's all guessing without one having direct look see...and that is outside of scope I can help with in public forum.

 

re: my advanced module, is better than 'any' existing lang/currency detector on the planet, you got that part yes?  All others before this module were simple 'guess work'..

Link to comment
Share on other sites

Hi, I am unable to recreate language issue.

 

I suspsect any issue you are having may be related to Location Detection for Prestashop module, this uses slow IP model, which I personally no longer recommend for this sort of logic.

 

Okay, thank you for your help anyway!

 

I did just reset the module and disabled it for all shops. Unfortunately my site is still in Danish :(

Link to comment
Share on other sites

Okay, thank you for your help anyway!

 

I did just reset the module and disabled it for all shops. Unfortunately my site is still in Danish :(

 

holy!..I can not get Danish to display.

 

this module I can not look at because it is php compressed, so nobody can look at code.

 

I think rather than disable (not all modules check if disabled) is to uninstall....

Link to comment
Share on other sites

holy!..I can not get Danish to display.

 

this module I can not look at because it is php compressed, so nobody can look at code.

 

I think rather than disable (not all modules check if disabled) is to uninstall....

 

 

Ok, I just uninstalled the module. Cleared my browser cache and cookies. Unfortunately my shop is still danish.

Link to comment
Share on other sites

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...