Interface IGenerateTranslationStringsApi

All Known Implementing Classes:
GenerateTranslationStringsApi

public interface IGenerateTranslationStringsApi
The class to generate translation strings.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generateTranslationStrings(IDtProject dtProject, List<String> languages, String storageId, String fillUpStrategy, Path fileListPath, boolean collectModel, boolean collectInterface, String collectModelType, boolean checkTranslationsInAnyAvailableStorage, Map<String,String> filterParameters)
    Generates translation strings for the specified project.
  • Method Details

    • generateTranslationStrings

      void generateTranslationStrings(IDtProject dtProject, List<String> languages, String storageId, String fillUpStrategy, Path fileListPath, boolean collectModel, boolean collectInterface, String collectModelType, boolean checkTranslationsInAnyAvailableStorage, Map<String,String> filterParameters) throws TranslationCliApiException
      Generates translation strings for the specified project.
      Parameters:
      dtProject - the DT project to generate translation strings for, cannot be null
      languages - the languages to generate translation strings for, cannot be null
      storageId - the storage id, cannot be null
      fillUpStrategy - the fill up strategy, cannot be null
      fileListPath - the file list path, cannot be null
      collectModel - the collect model
      collectInterface - the collect interface
      collectModelType - the collect model type, cannot be null
      checkTranslationsInAnyAvailableStorage - tells whether to check translations in any available storage
      filterParameters - the filter parameters, cannot be null
      Throws:
      TranslationCliApiException - if failed to generate translation strings