docs: protected void createPOFile(final POBuildData buildData, final String filePathAndName,
              final Map<String, TranslationDetails> translations) throws BuildProcessingException {
          // Don't create files where there is nothing to translate
          if (!translations.isEmpty()) {
              final StringBuilder potFile = createBasePOFile(buildData);
              final StringBuilder poFile = createBasePOFile(buildData);
  
              for (final Map.Entry<String, TranslationDetails> entry : translations.entrySet()) {
                  final String tagName = entry.getValue() == null ? null : entry.getValue().getTagName();
                  addPOTEntry(tagName, entry.getKey(), potFile);
                  if (entry.getValue() == null) {
                      addPOEntry(tagName, entry.getKey(), null, false, poFile);
                  } else {
                      addPOEntry(tagName, entry.getKey(), entry.getValue().getTranslation(), entry.getValue().isFuzzy(), poFile);
                  }
              }
  
              addPOTToZip(filePathAndName + ".pot", potFile.toString(), buildData);
              if (!buildData.getDefaultLocale().equals(buildData.getPOBuildLocale())) {
                  addPOToZip(filePathAndName + ".po", poFile.toString(), buildData);
              }
          }
      }