How to add support for another language?Solved

Hi.Installed the plugin, configured to display only the welcome message.Things are good.But, when you try to add another file with localization, it still displays the language from "en".(((

How to be?

Where did you add the file and how did you select the language?

Go0ePa8S2poB3OZ.jpg Wulf

Where did you add the file and how did you select the language?

Copied file from ../en/ to folder ../ru/

I translated it and the "ru" language was selected accordingly in the game.

Did you reload the plugin after making the changes?

Go0ePa8S2poB3OZ.jpg Wulf

Did you reload the plugin after making the changes?

Oh sure



Merged post

Sorry, I watched the video and realized that it was necessary to change the server language. The language is set depending on the language of the server.

Merged post

Is it possible to bind not to the server language, but to the client language (that is, when each player chooses in the game)???

The language is not dependent on the server language, that is for forcing a language. The player can set which language they want using the /lang chat command or if their client language matches what you have set.

Go0ePa8S2poB3OZ.jpg Wulf

The language is not dependent on the server language, that is for forcing a language. The player can set which language they want using the /lang chat command or if their client language matches what you have set.

Okay, but:
- added 2 language files: "ru" and "en"
- the server console says: "lang en" (as in the video)
- the language "ru" is set in the client (in the game)
- when I go into the game, it displays an "en" notification((((
that is, a binding from the server(((

Have you tried selecting it via the chat command in-game? /lang ru

Go0ePa8S2poB3OZ.jpg Wulf

Have you tried selecting it via the chat command in-game? /lang ru

Yes. I selected the language in the game menu before connecting to the server. Then, I used the command in the chat on the server and re-entered it again. Anyway, it is tied to the server language.

Like I said, the lang server command would force that specific language, users can pick their onn language if they isn't forced. I don't know why it isn't working for you normally, but if you only need RU, then what you have now is fine.

Go0ePa8S2poB3OZ.jpg Wulf

Like I said, the lang server command would force that specific language, users can pick their onn language if they isn't forced. I don't know why it isn't working for you normally, but if you only need RU, then what you have now is fine.


OK. But, nevertheless, the language works exclusively from the installation on the server, regardless of the players selected language (in the game: in the game menu or server chat ).
Locked automatically