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

Add language files support #2

Open
inxomnyaa opened this issue Jan 18, 2016 · 20 comments
Open

Add language files support #2

inxomnyaa opened this issue Jan 18, 2016 · 20 comments

Comments

@inxomnyaa
Copy link

No description provided.

@PEMapModder
Copy link
Owner

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.

@inxomnyaa
Copy link
Author

Well.. the second thing. Per server. Because if you have spanish kids that can't read english..

@PEMapModder
Copy link
Owner

Then how do they know how to read English to choose a Spanish version of the server?

@PEMapModder
Copy link
Owner

Also, for the sake of management convenience, I prefer to create one config file per version new configurations.

@dancing-ipsum
Copy link

for example use /lang ____ to change language used in default configurations

@PEMapModder
Copy link
Owner

And how do you expect them to know such command?
And what happens if every plugin uses /lang? Only one plugin will work.

@dancing-ipsum
Copy link

Not many plugins use /lang actually.

@PEMapModder
Copy link
Owner

As long as there is more than one plugin, it is incorrect.
I guess we can detect language from server configuration.

@PEMapModder PEMapModder modified the milestone: Release 1.1 Jan 20, 2016
@jarne
Copy link

jarne commented Jan 25, 2016

You could get the language by IP like Lifeboat does.

@PEMapModder
Copy link
Owner

@SURVAml that can be highly inaccurate.

@inxomnyaa
Copy link
Author

Just 1 language for a server. If you want to go save, use english. Done.

@Thunder33345
Copy link

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

@PEMapModder
Copy link
Owner

@Thunder33345 that's why there should only be one language for the whole server.

@PEMapModder
Copy link
Owner

What @thebigsmileXD suggested was to separate messages into another language file.

@dancing-ipsum
Copy link

or change default language in config.yml

@dancing-ipsum
Copy link

that will resolve the command problem

@PEMapModder
Copy link
Owner

@MCPEGamerJPatGitHub the purpose of separating messages is to allow easy switching of server's plugin language.

@dancing-ipsum
Copy link

@PEMapModder But commands will be a mess, when HereAuth has many configurations in the config file, making it very confusing for some users

@PEMapModder
Copy link
Owner

how does commands have anything to do with config?

@dancing-ipsum
Copy link

users might be confused

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

No branches or pull requests

5 participants