magemonkeystudio / genesis

MIT License
8 stars 8 forks source link

37 error when changing items language #57

Open MaksyKun opened 5 months ago

MaksyKun commented 5 months ago

Provides compatibility with more locales then "en-us". It takes the value of our config.yml Language: en-us and converts it into a Locale class that is referenced from Locale-API.

If there is no valid locale in the locales-folder, it takes the default en-us (assuming this one exists). If the default is not existing, it uses the formatted version of the material enum as we used before.

I'll still put it on draft since I'd like to implement a way how locales are automatically read from inside of the jar, or being automaticly generated if needed.

Travja commented 5 months ago

Just change this to ready for review once this is ready. It's just a draft right now

MaksyKun commented 5 months ago

Just finished the implementation. The draft is now disabled