code: public Map<String, Translation> getTranslations() {
          Map<String, Translation> map = new HashMap<>();
          for (Map.Entry<TranslationId, Translation> translationEntry : translations.entrySet()) {
              map.put(translationEntry.getKey().getLocale(), translationEntry.getValue());
          }
          return map;
      }
docs: Returns the translation set.
  
  @return the translations