/** * Gets a locale for the specified locale code, e.g. {@code en_US}. * * @param locale The locale to lookup (e.g. {@code en_US}. * @return The locale */ public static Locale of(String locale) { return Sponge.getRegistry().getLocale(locale); }
/** * Gets a locale for the specified locale code, e.g. {@code en_US}. * * @param locale The locale to lookup (e.g. {@code en_US}. * @return The locale */ public static Locale of(String locale) { return Sponge.getRegistry().getLocale(locale); }