Language Switcher Plugin
Created 6 years ago by alex

Hi. After installation, plugin returns an error "Call to undefined function Wirelab\LanguageSwitcherPlugin\LanguageSwitcher\Command\locale_get_display_region()" installed composer. What am I doing wrong? Thank You!

dominique  —  6 years ago Best Answer

You're probably missing PECL intl. https://pecl.php.net/package/intl. You can opt out of pecl by passing 'pecl': false in the options array.

ryanthompson  —  6 years ago

Run composer dump-autoload perhaps?

ryanthompson  —  6 years ago

@dominique thoughts?

dominique  —  6 years ago Best Answer

You're probably missing PECL intl. https://pecl.php.net/package/intl. You can opt out of pecl by passing 'pecl': false in the options array.

alex  —  6 years ago

"You can opt out of pecl by passing 'pecl': false in the options array." Thank You!