@Override @Deprecated public boolean changeLang(String code) { return wrapped.changeLang(code); }
@Override @Deprecated public boolean changeLang(Lang lang) { return wrapped.changeLang(lang); }
@Override @Deprecated public boolean changeLang(Lang lang) { return wrapped.changeLang(lang); }
@Override public boolean changeLang(Lang lang) { return wrapped.changeLang(lang); }
@Override @Deprecated public boolean changeLang(Lang lang) { return wrapped.changeLang(lang); }
/** * Change durably the lang for the current user. * * @param code New lang code to use (e.g. "fr", "en-US", etc.) * @return true if the requested lang was supported by the application, otherwise false * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)}. */ @Deprecated public boolean changeLang(String code) { return changeLang(Lang.forCode(code)); }
/** * Change durably the lang for the current user. * @param code New lang code to use (e.g. "fr", "en-US", etc.) * @return true if the requested lang was supported by the application, otherwise false */ public boolean changeLang(String code) { return changeLang(Lang.forCode(code)); }
/** * Change durably the lang for the current user * * @param code New lang code to use (e.g. "fr", "en-US", etc.) * @return true if the requested lang was supported by the application, otherwise false. * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)} or {@link Result#withLang(Lang, MessagesApi)}. */ @Deprecated public static boolean changeLang(String code) { return Http.Context.current().changeLang(code); }
@Override @Deprecated public boolean changeLang(String code) { return wrapped.changeLang(code); }
@Override public boolean changeLang(String code) { return wrapped.changeLang(code); }
@Override @Deprecated public boolean changeLang(String code) { return wrapped.changeLang(code); }
/** * Change durably the lang for the current user * * @param code New lang code to use (e.g. "fr", "en-US", etc.) * @return true if the requested lang was supported by the application, otherwise false. * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)} or {@link Result#withLang(Lang, MessagesApi)}. */ @Deprecated public static boolean changeLang(String code) { return Http.Context.current().changeLang(code); }
/** * Change durably the lang for the current user * @param lang New Lang object to use * @return true if the requested lang was supported by the application, otherwise false. */ public static boolean changeLang(Lang lang) { return Http.Context.current().changeLang(lang); }
/** * Change durably the lang for the current user * @param code New lang code to use (e.g. "fr", "en-US", etc.) * @return true if the requested lang was supported by the application, otherwise false. */ public static boolean changeLang(String code) { return Http.Context.current().changeLang(code); }
/** * Change durably the lang for the current user * * @param lang New Lang object to use * @return true if the requested lang was supported by the application, otherwise false. * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)} or {@link Result#withLang(Lang, MessagesApi)}. */ @Deprecated public static boolean changeLang(Lang lang) { return Http.Context.current().changeLang(lang); }
/** * Change durably the lang for the current user * * @param lang New Lang object to use * @return true if the requested lang was supported by the application, otherwise false. * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)} or {@link Result#withLang(Lang, MessagesApi)}. */ @Deprecated public static boolean changeLang(Lang lang) { return Http.Context.current().changeLang(lang); }
/** * Change durably the lang for the current user. * * @param code New lang code to use (e.g. "fr", "en-US", etc.) * @return true if the requested lang was supported by the application, otherwise false * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)}. */ @Deprecated public boolean changeLang(String code) { return changeLang(Lang.forCode(code)); }
/** * Change durably the lang for the current user * * @param code New lang code to use (e.g. "fr", "en-US", etc.) * @return true if the requested lang was supported by the application, otherwise false. * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)} or {@link Result#withLang(Lang, MessagesApi)}. */ @Deprecated public static boolean changeLang(String code) { return Http.Context.current().changeLang(code); }
/** * Change durably the lang for the current user * * @param lang New Lang object to use * @return true if the requested lang was supported by the application, otherwise false. * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)} or {@link Result#withLang(Lang, MessagesApi)}. */ @Deprecated public static boolean changeLang(Lang lang) { return Http.Context.current().changeLang(lang); }
/** * Change durably the lang for the current user. * * @param code New lang code to use (e.g. "fr", "en-US", etc.) * @return true if the requested lang was supported by the application, otherwise false * * @deprecated Deprecated as of 2.7.0. Use {@link MessagesApi#setLang(Result, Lang)}. */ @Deprecated public boolean changeLang(String code) { return changeLang(Lang.forCode(code)); }