Language support for build-in command response text

So far, I can’t find any way that could change build-in command response text to other language. Seem it’s Implement with hard code. I suggest it should be configurable in sponge config file.

For example:
messages {
too-many-args=“Too many arguments!”
not-enough -args=“Not enough arguments”
pattern-not-match=“No values matching pattern ‘%s’ present for %s!”
}

Is this possible?

While I agree that it should be implemented, it should not use a simple configuration file but rather Java resource bundles together with the MessageFormat. Sponge could than easily bundle user-contributed localizations out-of-the-box.

1 Like