Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined constant "Sokil\IsoCodes\TranslationDriver\LC_MESSAGES" #47

Open
defstat opened this issue Oct 20, 2021 · 0 comments
Open

Undefined constant "Sokil\IsoCodes\TranslationDriver\LC_MESSAGES" #47

defstat opened this issue Oct 20, 2021 · 0 comments

Comments

@defstat
Copy link

defstat commented Oct 20, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant