BlockProt

BlockProt

17.2k Downloads

[Feature]: Automatic Language Selection

hoehoetvhss opened this issue ยท 2 comments

commented

Feature description

If BlockProt is installed for the first time or there is no Config file, it would be nice to load it automatically based on the language of the computer.

commented

If BlockProt is installed for the first time or there is no Config file

Do you mean that there is no config at all? The plugin should automatically copy every translations file and all config files into the correct directory.

it would be nice to load it automatically based on the language of the computer.

The main issue here is that I load the language file based on what's configured in the config.yml. And it's not the easiest thing to overwrite the config file programmatically, so I just never got to it. I'll leave this issue open and if I ever feel like trying to change the config through code I'll tend to this ๐Ÿ‘๐Ÿป

commented

However, if there is no language file, it will be replaced by English.