How to remove the language switcher

More
6 years 7 months ago #55020 by Kansen
Kansen created the topic: How to remove the language switcher
Hi everyone,

I got LimeSurvey installed by LimeSurvey Professional (previously 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,

Please Log in to join the conversation.

More
6 years 7 months ago #55028 by holch
holch replied the topic: How to remove the language switcher
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.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
6 years 7 months ago #55043 by tpartner
tpartner replied the topic: How to remove the language switcher
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.

Please Log in to join the conversation.

More
6 years 7 months ago #55142 by Kansen
Kansen replied the topic: Aw: Re: How to remove the language switcher

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,

Please Log in to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #55143 by holch
holch replied the topic: Aw: Re: How to remove the language switcher
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.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Last Edit: 6 years 7 months ago by holch.

Please Log in to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #55144 by tpartner
tpartner replied the topic: Aw: Re: How to remove the language switcher
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.
Last Edit: 6 years 7 months ago by tpartner.

Please Log in to join the conversation.

More
4 years 11 months ago #85162 by jmbaria
jmbaria replied the topic: Aw: Re: How to remove the language switcher
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.

Please Log in to join the conversation.

More
4 years 4 months ago #94948 by tammo
tammo replied the topic: How to remove the language switcher
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.


Tammo ter Hark at Tools for Research
Proud developers of the TFR Responsive Limesurvey template
toolsforresearch.com/limesurvey-responsive-template

Please Log in to join the conversation.

More
1 year 3 months ago #135262 by testleno
testleno replied the topic: How to remove the language switcher of the Administrator Login Panel
Hi,

I want to remove the language switcher of the Administrator Login Panel. I am using Limesurvey version2.50.

Kindly help me to remove it.

Thanks

Please Log in to join the conversation.

More
1 year 3 months ago #135301 by holch
holch replied the topic: How to remove the language switcher of the Administrator Login Panel
For the Administrator Login Panel you will most probably have to look in the administration template files. Probably the easiest way is to hide it via CSS, if you can find the respective ID or class so you can access it via CSS.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
1 year 3 months ago - 1 year 3 months ago #135302 by holch
holch replied the topic: How to remove the language switcher of the Administrator Login Panel
I have tried to find out how to solve this.

Wow, is this simple little page complicated. I don't know why there is so much going on on this page. I guess this has to do with bootstrap. I had and am still having a hard time to find my way around the html code and the css code for what is supposed to be a pretty simple page.

With adding display:none to #s2id_loginlang I managed to hide the drop down. But as the label "language" has no ID nor a unique class, I am not quite sure how to hide this via CSS. Maybe someone else can skip in, who is more up to date with coding or has experience with bootstrap.
#s2id_loginlang {
    border: none;
    padding: 0;
    display: none;
}

Should be found in lime-admin-common.css

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Last Edit: 1 year 3 months ago by holch.

Please Log in to join the conversation.

More
1 year 3 months ago #135313 by Ben_V
Ben_V replied the topic: How to remove the language switcher of the Administrator Login Panel

holch wrote: But as the label "language" has no ID


answered here ;)

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now