Class TranslationSource
java.lang.Object
com.github.lgooddatepicker.zinternaltools.TranslationSource
TranslationSource, This class has static functions that are used to provide translations of text
in the date pickers. This class accesses the "TranslationResources.properties" file to get its
translations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getTranslation
(Locale locale, String key, String defaultText) getTranslation, This returns a local language translation for the text that is represented by the specified key.
-
Constructor Details
-
TranslationSource
public TranslationSource()
-
-
Method Details
-
getTranslation
getTranslation, This returns a local language translation for the text that is represented by the specified key. The supplied locale is used to indicate the desired language. If a translation cannot be found, then the default text will be returned instead.
-