Jump to content

Force front office language


Recommended Posts

Hi all

 

How to force front office language. I don't talking about set default language becouse it's done already. But not matter what language is set to default in front office I have english.

So the question is whare I have to change somethig (in which files) to force one of my installed languages in front office. Force it's mean don't care what is in cookie or what is browser language.

Link to comment
Share on other sites

Other languages are disabled. Default language is set. But still in FO is english.

I don't know why. Look at this answer there is described order for choosing users language.

  • cookie
  • browser language
  • default shop language

That's why I need to avoid cookie and browser language.

 

Maybe I need change something in some settings files or file?

Link to comment
Share on other sites

Yes, or your theme doesn't have your language supported....in that case you have to edit all the .tpl files of your theme.

 

I agree with pollyphono about this probably your template and template modules not having translations for the language your want to display on your front office.

 

However one should not update the .tpl files but the translation files from the back office (assuming 1.4.x).

 

click the language you have set for your default language. If the theme/module translations do not exist, you will need to add the xlalations, for your front office, modules, etc.

04.07.2012-09.50.56.png

 

for example spanish:

04.07.2012-09.52.55.png

Link to comment
Share on other sites

Thanks guys! Of course you were right! This site it's my client site and I assumed that all installed languages have full translation. I was wrong. The choosen language was totaly empty inside translation module - and that was the reason!

 

Anyway - thank's once again and Happy Easter.

Link to comment
Share on other sites

I assumed that all installed languages have full translation. I was wrong.

Anyway - thank's once again and Happy Easter.

 

you are very welcome and good call by pollyphono! Notice the little button way to the right on your translations screen, it's an experimental google translate. I have not tried it but for many things I bet it works great.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...