Essentials/Essentials/src/main/java/com/earth2me/essentials/api/II18n.java

22 lines
561 B
Java
Raw Normal View History

2011-12-06 16:32:06 +01:00
package com.earth2me.essentials.api;
2020-10-04 18:03:52 +02:00
import org.bukkit.entity.Player;
import java.util.Locale;
2011-12-06 16:32:06 +01:00
2020-10-04 18:03:52 +02:00
/**
* Provides access to the current locale in use.
*
* @deprecated External plugins should prefer to use either the player's client language ({@link Player#getLocale()} or
* {@link net.ess3.api.II18n} in case of future additions.
*/
@Deprecated
2015-04-15 06:06:16 +02:00
public interface II18n {
/**
* Gets the current locale setting
*
* @return the current locale, if not set it will return the default locale
*/
Locale getCurrentLocale();
2011-12-06 16:32:06 +01:00
}