Jump to content

Detect site language used by a guest


Recommended Posts

I'm displaying content in a template depending on the member language.

{{$member = \IPS\Member::loggedIn();}}
{{if $member->language == 2}}
Message A
Message B

This works for logged in members, but is there a way to determine the language for guests?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...