Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Internationalization (I18N)
#4
(2014-07-14, 07:55:00)mvlcek Wrote: You could use the following code (accessing "internal" functionality) to get the currently "preferred" language:
Code:
$mylanguages = I18nFrontend::getLanguages();
$mylanguage = $mylanguages[0];

Thx mvlcek, your code works perfect (as usual).
Reply


Messages In This Thread
Internationalization (I18N) - by Rene - 2014-07-11, 22:00:07
RE: Internationalization (I18N) - by Rene - 2014-07-14, 06:43:58
RE: Internationalization (I18N) - by mvlcek - 2014-07-14, 07:55:00
RE: Internationalization (I18N) - by Rene - 2014-07-15, 03:52:53
RE: Internationalization (I18N) - by bonyway - 2014-08-12, 20:05:10



Users browsing this thread: 1 Guest(s)