1. 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 ?

Discussion in 'XenForo Questions and Support' started by erich37, Apr 3, 2013.

  1. erich37

    erich37 Well-Known Member

    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!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Why have languages installed if people can't select them?

    Just uninstall the languages if that's the case.
     
  3. erich37

    erich37 Well-Known Member

    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.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You only need to revert and re-edit the phrases which have changed.
     
  5. erich37

    erich37 Well-Known Member

    manually re-editing 200 phrases ? No way.
    I rather want to hide the Language-Switch in the footer.
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    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>
    
     
  7. erich37

    erich37 Well-Known Member

    yeah thanks. I already did.
     

Share This Page