Class GenerateTranslationStringsApi

java.lang.Object
com.e1c.langtool.v8.dt.cli.api.impl.GenerateTranslationStringsApi
All Implemented Interfaces:
IGenerateTranslationStringsApi

public class GenerateTranslationStringsApi extends Object implements IGenerateTranslationStringsApi
The default implementation of IGenerateTranslationStringsApi.
  • Constructor Details

    • GenerateTranslationStringsApi

      public GenerateTranslationStringsApi()
  • Method Details

    • generateTranslationStrings

      public void generateTranslationStrings(IDtProject dtProject, List<String> languageIds, String fullStorageId, String fillUpStrategy, Path fileListPath, boolean collectModel, boolean collectInterface, String collectModelType, boolean checkTranslationsInAnyAvailableStorage, Map<String,String> filterParameters) throws TranslationCliApiException
      Description copied from interface: IGenerateTranslationStringsApi
      Generates translation strings for the specified project.
      Specified by:
      generateTranslationStrings in interface IGenerateTranslationStringsApi
      Parameters:
      dtProject - the DT project to generate translation strings for, cannot be null
      languageIds - the languages to generate translation strings for, cannot be null
      fullStorageId - 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