Class GenerateTranslationStringsApi
java.lang.Object
com.e1c.langtool.v8.dt.cli.api.impl.GenerateTranslationStringsApi
- All Implemented Interfaces:
IGenerateTranslationStringsApi
The default implementation of
IGenerateTranslationStringsApi.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateTranslationStrings(IDtProject dtProject, List<String> languageIds, String fullStorageId, String fillUpStrategy, Path fileListPath, boolean collectModel, boolean collectInterface, String collectModelType, boolean checkTranslationsInAnyAvailableStorage, Map<String, String> filterParameters) Generates translation strings for the specified project.
-
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 TranslationCliApiExceptionDescription copied from interface:IGenerateTranslationStringsApiGenerates translation strings for the specified project.- Specified by:
generateTranslationStringsin interfaceIGenerateTranslationStringsApi- Parameters:
dtProject- the DT project to generate translation strings for, cannot benulllanguageIds- the languages to generate translation strings for, cannot benullfullStorageId- the storage id, cannot benullfillUpStrategy- the fill up strategy, cannot benullfileListPath- the file list path, cannot benullcollectModel- the collect modelcollectInterface- the collect interfacecollectModelType- the collect model type, cannot benullcheckTranslationsInAnyAvailableStorage- tells whether to check translations in any available storagefilterParameters- the filter parameters, cannot benull- Throws:
TranslationCliApiException- if failed to generate translation strings
-