HereAuth
HereAuth copied to clipboard
Add language files support
What do you mean by that, exactly? Per player language or per server language?
Because it is hard to try to know the language of a player when he is registering.
Well.. the second thing. Per server. Because if you have spanish kids that can't read english..
Then how do they know how to read English to choose a Spanish version of the server?
Also, for the sake of management convenience, I prefer to create one config file per version new configurations.
for example use /lang ____ to change language used in default configurations
And how do you expect them to know such command? And what happens if every plugin uses /lang? Only one plugin will work.
Not many plugins use /lang actually.
As long as there is more than one plugin, it is incorrect. I guess we can detect language from server configuration.
You could get the language by IP like Lifeboat does.
@SURVAml that can be highly inaccurate.
Just 1 language for a server. If you want to go save, use english. Done.
agreed @PEMapModder i have ask.fm for displaying stuff in malay; user's country languge != user language preference and that just backfired a lot when traveling
i suggest using something like /$mastercmd lang /$mastercmd setlang so assume $mastercmd is HereAuth i dont think any plugin uses the cmd /hereauth so that will resolve all command issues
new issue: what language should server display on player first join
@Thunder33345 that's why there should only be one language for the whole server.
What @thebigsmileXD suggested was to separate messages into another language file.
or change default language in config.yml
that will resolve the command problem
@MCPEGamerJPatGitHub the purpose of separating messages is to allow easy switching of server's plugin language.
@pemapmodder But commands will be a mess, when HereAuth has many configurations in the config file, making it very confusing for some users
how does commands have anything to do with config?
users might be confused