Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static String getTranslatedString(String string){
- string = ChatColor.translateAlternateColorCodes('&', string);
- string = string.replace("%ue", "ü");
- string = string.replace("%oe", "ö");
- string = string.replace("%ae", "ä");
- string = string.replace("%ss", "ß");
- string = string.replace("<3", "?");
- string = string.replace("->", "?");
- string = string.replace(">", "»");
- string = string.replace("<", "«");
- string = string.replace("*", "?");
- return string;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement