Undefined constant "Sokil\IsoCodes\TranslationDriver\LC_MESSAGES"
defstat opened this issue · comments
I am using a windows development machine with
PHP 8.0.2 (cli) (built: Feb 3 2021 18:36:40) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.2, Copyright (c) Zend Technologies
with Xdebug v3.0.4, Copyright (c) 2002-2021, by Derick Rethans
and I am getting
Undefined constant "Sokil\IsoCodes\TranslationDriver\LC_MESSAGES" in \vendor\sokil\php-isocodes\src\TranslationDriver\GettextExtensionDriver.php:37
It seems that my installation does not have the LC_MESSAGES defined. Trying to find some solution for this I came across this post.
I tried something like this and it seems it work for my installation.