Prison 3

Prison 3

191k Downloads

Update reload command to include translation files

Josh65-2201 opened this issue · 3 comments

commented

Which module are you submitting this issue for?

Core

Describe the issue you are experiencing.

Doing /prison reload doesn't work for translation files. Requiring a server restart

Anything else we need to know?

commented

Didn't seem like it existed that why I put it here.

commented
commented

The term "Locale" is based upon the jargon that Java uses when a language is selected for use, and it influences many internal behaviors in java, such as formatting numerics, and altering the multi-language translations used for errors and other general notifications. Prison utilizes the specified locale to control the internal multi-language engine. So hence is why we use that as a descriptor for the command to reload it.

I stated the incorrect command before. The correct command is plural:
/prison reload locale

That command does not have aliases setup for it, but if you wish, you can define your own alias within the config.yml setting file under prisonCommandHandleraliases.prison.reload.locale would be the correct yaml path to use.

Prison has a lot of features, many may not be even documented, so feel free to ask on our discord server if you're not finding something that you need.

Thanks for closing this ticket. I'm marking it as invalid since it really isn't an issue and the feature already exist. But thanks for reaching out. ;)