diff --git a/src/fr/devinsy/xidyn/presenters/TranslatorPresenter.java b/src/fr/devinsy/xidyn/presenters/TranslatorPresenter.java index 41e4daa..afe2220 100644 --- a/src/fr/devinsy/xidyn/presenters/TranslatorPresenter.java +++ b/src/fr/devinsy/xidyn/presenters/TranslatorPresenter.java @@ -269,6 +269,31 @@ public class TranslatorPresenter implements Presenter return false; } + /** + * + */ + public String toString(final Locale locale) throws Exception + { + String result; + + // + String language; + if (locale == null) + { + language = null; + } + else + { + language = locale.getLanguage(); + } + + // + result = toString(language); + + // + return result; + } + /** * */