/** * Given a message code, translate it using current locale. If there is no message in the current locale for the * given key, the key is returned. * * @param key * the message code * @param args * optional message format arguments * @return translated message */ public static String get(Object key, Object... args) { return getMessage(Lang.get(), key, args); }