@Test public void testSetLanguage() { System.out.println("setLanguage"); String language = "de"; I18n.setLanguage(language); CowsayCli.showCmdLineHelp(); Assert.assertTrue("'Kuh' must be there somewhere or it's not German cowsay help", outContent.toString().contains(" Kuh ")); }
public static void setLanguage(final String language) { messages = ResourceBundle.getBundle("MessagesBundle", new Locale(language)); }
I18n { public static void setLanguage(final String language) { messages = ResourceBundle.getBundle("MessagesBundle", new Locale(language)); } }
I18n { public static void setLanguage(final String language) { messages = ResourceBundle.getBundle("MessagesBundle", new Locale(language)); } private  I18n(); }
I18n { public static void setLanguage(final String language) { messages = ResourceBundle.getBundle("MessagesBundle", new Locale(language)); } private  I18n(); static void setLanguage(final String language); }
I18n { public static void setLanguage(final String language) { messages = ResourceBundle.getBundle("MessagesBundle", new Locale(language)); } private  I18n(); static void setLanguage(final String language);  }