Welcome Guest, Not a member yet? Register   Sign In
Multi-language support - How to change language in the view?
#7

Can't you pass the the locale for the language you want as the third param of the `lang()` calls and get the results you want?

Code:
echo lang('foo.bar', [], 'en');
echo lang('foo.bar', [], 'fr');
Reply


Messages In This Thread
RE: Multi-language support - How to change language in the view? - by kilishan - 07-01-2019, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB