2

Hello I'm developing a website that has not content languages, it would be some kind of joomla administrator, only language strings are loaded (no contents needed for this website). I want that Joomla remembers the last language selected.

Example:

  • mywebsite.com -> default language (en-GB)
  • mywebsite.com?language=es-ES -> now I see the es-ES strings loaded
  • mywebsite.com -> again the website loads the default language (en-GB)

I want to display it in es-ES, I mean keep the latest language selected. I don't want to define content languages as I need to be

I guess I need to add the es-ES language variable again and again, maybe a is there a plugin that does so?

Regards

  • Keep the latest language selected or always Spanish? Why don't you want to define content languages? With the System Plugin:Language Filter, there will be a cookie stored for the language selection. You can set cookie duration to 1 year. – FFrewin Jun 7 '15 at 15:22
  • Keep the latest language selected. To use language filter I have to set content languages which is not useful in this case. I don't have different content versions of the website, only interested in loading language strings. I don't want to define content languages because I don't want the to be attached in SEF urls – xavip Jun 7 '15 at 15:49
  • Think that one way or another, you need a multilingual site - even if you only want to load language strings. Multilingual sites need content languages, so setting languages is still useful. – FFrewin Jun 7 '15 at 15:51
  • But language is remembered when user is logged-in (for example in Joomla administrator, no need for content languages), this should be possible with anonymous session also – xavip Jun 7 '15 at 15:58
  • 1
    Found the solution, just activated "Remove URL Language Code" from plugin options. Thanks for your feedback! – xavip Jun 9 '15 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.