Language config framework for Bukkit, Sponge, Bungee, Velocity and standalone Java programs.
Has the ability to select the correct locale depending on the user.
<repository>
<id>minebench-repo</id>
<url>https://repo.minebench.de/</url>
</repository>
<dependency>
<groupId>de.themoep.utils</groupId>
<artifactId>lang-[bukkit|bungee|velocity|simple]</artifactId>
<version>check-for-latest</version>
<scope>compile</scope>
</dependency>
See this examples for Bukkit, Sponge, Bungee and Velocity plugins as well standalone applications.
Of course you can implement lang-core
yourself on additional platforms. PRs welcome!
Take a look at the examples in the wiki and the Javadocs for more fine-grained control. (Almost everything is configurable!)
The system property de.themoep.utils.lang.debug
is provided to enable some debug logging.
This library is licensed under the GPLv3!
lang
Copyright (c) 2020 Max Lee aka Phoenix616 (max@themoep.de)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.