• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

how to hide "Language Switch" in footer ?

erich37

Well-known member
#1
I would like to hide the "Language Switch" in the footer. Hiding it both from guests and all members.

Could you please tell me how to do this ?



Many thanks!
 

Brogan

XenForo moderator
Staff member
#2
Why have languages installed if people can't select them?

Just uninstall the languages if that's the case.
 

erich37

Well-known member
#3
if I have only 1 language (e.g. german language) installed in my ACP, then this language gets overwritten when doing a XF-software upgrade. The Default german-language will get overwritten with english phrases.

http://xenforo.com/community/threads/add-checkbox-in-acp-for-language.47783/

So I need to have a parent-language (English) and also a child-language (German) in order to make sure that my german-language-phrases get not overwritten on a XF-software-upgrade.
 

Jeremy

Well-known member
#6
manually re-editing 200 phrases ? No way.
I rather want to hide the Language-Switch in the footer.
Remove the following lines from the footer template:
HTML:
<xen:if is="{$canChangeLanguage}">
<dt>{xen:phrase language}</dt>
<dd><a href="{xen:link 'misc/language', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase language_chooser}" rel="nofollow">{$visitorLanguage.title}</a></dd>
</xen:if>