docs: public static TranslatedContentSpecWrapper getTranslatedContentSpecById(final DataProviderFactory providerFactory, final Integer id,
              final Integer rev) {
          final CollectionWrapper<TranslatedContentSpecWrapper> translatedContentSpecs = providerFactory.getProvider(
                  ContentSpecProvider.class).getContentSpecTranslations(id, rev);
  
          if (translatedContentSpecs != null) {
              final List<TranslatedContentSpecWrapper> translatedContentSpecItems = translatedContentSpecs.getItems();
              for (final TranslatedContentSpecWrapper translatedContentSpec : translatedContentSpecItems) {
                  if (rev != null && translatedContentSpec.getContentSpecRevision().equals(rev)) {
                      return translatedContentSpec;
                  } else if (rev == null) {
                      return translatedContentSpec;
                  }
              }
          }
  
          return null;
      }