Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
kmk Posted September 1, 2019 Posted September 1, 2019 There is already multilanguage block or widget that let me place on a homepage as redirect?
bfarber Posted September 3, 2019 Posted September 3, 2019 I am unsure what you mean by "as redirect" - if you redirected visits to your homepage, then anything you embedded wouldn't show up to the end user. To answer your first question, you would have to build it manually, i.e. doing something like this in a Pages custom block: {{if \IPS\Member::loggedIn()->language()->short == 'en_US'}} English text {{elseif \IPS\Member::loggedIn()->language()->short == 'de_DE'}} German text {{else}} ... {{endif}}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.