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

The language does not load on SA-MP server #9

Closed
MrDave1999 opened this issue Apr 12, 2022 · 0 comments · Fixed by #10
Closed

The language does not load on SA-MP server #9

MrDave1999 opened this issue Apr 12, 2022 · 0 comments · Fixed by #10

Comments

@MrDave1999
Copy link
Owner

imagen
The current behavior is: es_EC:es. However, this language does not match the language specified in the .env file.

But then I realized the problem: LANGUAGE is a Linux environment variable and DotEnv.Core (a library that uses the gamemode) does not override existing environment variables, so that is the reason why the language specified in the .env is not load.

In the .env file it should appear with another name instead of LANGUAGE:

LANGUAGE_NAME=Spanish

LANGUAGE is not a good name for specifying the language of the SA-MP server from a .env file, since it is itself an environment variable that exists at the operating system level.

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

Successfully merging a pull request may close this issue.

1 participant