Language Switcher Plugin
Created 1 year 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  —  1 year 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  —  1 year ago

Run composer dump-autoload perhaps?

ryanthompson  —  1 year ago

@dominique thoughts?

dominique  —  1 year 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  —  1 year ago

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