### Question:
TextTranslations { public static Component translate(Component text, Locale locale) { return RENDERER.render(text, locale); } private  TextTranslations(); static SortedSet<String> getKeys(); static Set<Locale> getLocales(); static Locale getNearestLocale(Locale locale); @Nullable static MessageFormat getKey(Locale locale, String key); @Nullable static MessageFormat getNearestKey(Locale locale, String key); static long loadKeys(Locale locale); static Component translate(Component text, Locale locale); @Deprecated static String translateLegacy(Component text, @Nullable CommandSender sender); @Deprecated static String translate(String key, @Nullable CommandSender sender, Object... args); static String translateBaseComponent(Component component, @Nullable CommandSender viewer); static BaseComponent toBaseComponent(Component component, @Nullable CommandSender viewer); static BaseComponent[] toBaseComponentArray(
      Component component, @Nullable CommandSender viewer);  }### Answer:
@Test void testTranslateOurs() { assertEquals( TextComponent.of("☃"), translate(TranslatableComponent.of("misc.snowman"), US), "translation did not render"); }
@Test void testTranslateMojang() { final TranslatableComponent text = TranslatableComponent.of("entity.Creeper.name"); assertEquals(text, translate(text, US), "mojang translation did not pass-through"); }