SamB440 / ForcePack

Spigot/Velocity plugin to aid resource pack deployment and enforcement, among other utilities.
https://fortitude.islandearth.net/category/forcepack
GNU General Public License v3.0
48 stars 17 forks source link

Add Simplified Chinese Translation #13

Closed CJYKK closed 1 year ago

SamB440 commented 1 year ago

In the future we should probably add a way for velocity to have translations, but I need to work out a way to do that.

Thanks for your contribution.

CJYKK commented 1 year ago

In the future we should probably add a way for velocity to have translations, but I need to work out a way to do that.

Thanks for your contribution.

Like .lang file?

SamB440 commented 1 year ago

In the future we should probably add a way for velocity to have translations, but I need to work out a way to do that. Thanks for your contribution.

Like .lang file?

The problem is we have per-server resource packs which all have their own texts on Velocity, so a simple file like we have on Spigot won't work as that won't be different for each resource pack.

Best idea is probably to have a language file with translation keys such as servers.example-server.resourcepack.prompt="<yellow>Please accept our resource pack to improve your experience.".

CJYKK commented 1 year ago

I suggest lang files, HOCON or TOML. They are all more in line with your requirements, but it is still up to you to decide.