private static @NotNull Locale getResolveLocale() {
    Locale resolveLocale = getLocale();
    // we must use Locale.ROOT to get English messages from default bundles
    return resolveLocale.equals(Locale.ENGLISH) ? Locale.ROOT : resolveLocale;
  }
private static @NotNull Locale getResolveLocale()