Welcome, Guest
Username: Password: Remember me

TOPIC: How to remove the language switcher

How to remove the language switcher 3 years 9 months ago #55020

  • Kansen
  • Kansen's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi everyone,

I got LimeSurvey installed by LimeService and finished my questionnaire now (englisch & german).

Could anyone tell me how I can remove that Dropdown Box that makes you change the language during the questionnaire?

Thx in advance!

Best,
The administrator has disabled public write access.

Re: How to remove the language switcher 3 years 9 months ago #55028

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2851
  • Thank you received: 359
  • Karma: 124
The language switcher is, as far as I know, part of the template. Have a look at your template. Depending on your template this might be in different files. My guess would be the startpage.pstpl.

If you use a standard template, I would suggest you copy the template and change things in the new template. So you can always go back to the standard one, if something goes wrong.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re: How to remove the language switcher 3 years 9 months ago #55043

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4277
  • Thank you received: 806
  • Karma: 370
Find and remove the {LANGUAGECHANGER} placeholder. Maybe in survey.pstpl.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Aw: Re: How to remove the language switcher 3 years 9 months ago #55142

  • Kansen
  • Kansen's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
tpartner wrote:
Find and remove the {LANGUAGECHANGER} placeholder. Maybe in survey.pstpl.

Hi,

thx for the help but all i could find was:

.languagechanger {font-size: 1em;}

that was in the template.css

I tried deleting that but it made no difference...any other ideas?

Thx again,
The administrator has disabled public write access.

Aw: Re: How to remove the language switcher 3 years 9 months ago #55143

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2851
  • Thank you received: 359
  • Karma: 124
Of course deleting .languagechanger in the template.css doesn't help. It just deletes the way it is supposed to be styled. What you could do is to use
.languagechanger {display:none;}

While still in the source code, the languagechanger shouldn't appear anymore.

Without knowing which template you use, it is basically impossible to tell you where in the template files you can find the language changer.

For the template "default" you can find {LANGUAGECHANGER} in the survey.pstpl. But this can be different for each template.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Last Edit: 3 years 9 months ago by holch.
The administrator has disabled public write access.

Re: Aw: Re: How to remove the language switcher 3 years 9 months ago #55144

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4277
  • Thank you received: 806
  • Karma: 370
The placeholder must be there or the language changer would not appear. What template are you using?

You could also use CSS to hide it. Add the following to the end of template.css:
.languagechanger {
	display: none;
}

[EDIT] holch beat me to the CSS :P [/EDIT]
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 3 years 9 months ago by tpartner.
The administrator has disabled public write access.

Re: Aw: Re: How to remove the language switcher 2 years 1 month ago #85162

  • jmbaria
  • jmbaria's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
This is an old post but I thought I should just post the answer anyway.
open the current active template e.g templates/default/surveylist.pstpl

look for {LANGUAGECHANGER} in surveylist.pstpl file and remove it.

That's all.
The administrator has disabled public write access.

How to remove the language switcher 1 year 6 months ago #94948

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 36
  • Thank you received: 3
  • Karma: 1
Depending on the template you use, the [LANGUAGESWITCHER] may be either in welcome.pstl or another template file. I prefer it to reside in welcome.pstl, since then it is only shown at the start of the survey, not on every following page.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.185 seconds
Donation Image