@Test public void shouldProvideKeywordsForHebrew() throws IOException { I18n he = new I18n("he"); assertEquals(Arrays.asList("דוגמאות"), he.keywords("examples")); assertEquals("iw", he.getLocale().getLanguage()); }
public Locale getLocale() { return locale; }
I18n { public Locale getLocale() { return locale; } }
I18n { public Locale getLocale() { return locale; } I18n(String isoCode); }
I18n { public Locale getLocale() { return locale; } I18n(String isoCode); static String codeKeywordFor(String keyword); static List<I18n> getAll(); String getIsoCode(); Locale getLocale(); String getUnderscoredIsoCode(); Lexer lexer(Listener listener); List<String> keywords(String key); List<String> getCodeKeywords(); List<String> getStepKeywords(); String getKeywordTable(); }
I18n { public Locale getLocale() { return locale; } I18n(String isoCode); static String codeKeywordFor(String keyword); static List<I18n> getAll(); String getIsoCode(); Locale getLocale(); String getUnderscoredIsoCode(); Lexer lexer(Listener listener); List<String> keywords(String key); List<String> getCodeKeywords(); List<String> getStepKeywords(); String getKeywordTable();  }