Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 1, 20195 yr There is already multilanguage block or widget that let me place on a homepage as redirect?
September 3, 20195 yr 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}}
Archived
This topic is now archived and is closed to further replies.