Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Default language based on domain name

  • sebastienadam
  • sebastienadam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #158692 by sebastienadam
Default language based on domain name was created by sebastienadam
Hello everybody,

I am implementing a multilingual survey site. There is a different domain name for each language.

I would like to know if it is possible to configure a different default language for each domain name?

Thank you in advance for your answers.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 1 month ago #158696 by DenisChenu
Replied by DenisChenu on topic Default language based on domain name
See www.limesurvey.org/forum/french-forum/11...om-de-domaine#158694

Quick : via config.php BUT need hacking DB and unsure it work when global settings is saved, then seem berst to use www.limesurvey.org/manual/BeforeControllerAction event in a plugin and App()->setConfig('defaultlang',$language);

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose