Package com.e1c.langtool.v8.dt.cli.api
Interface IGenerateTranslationStringsApi
- All Known Implementing Classes:
GenerateTranslationStringsApi
public interface IGenerateTranslationStringsApi
The class to generate translation strings.
-
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateTranslationStrings(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 TranslationCliApiExceptionGenerates translation strings for the specified project.- Parameters:
dtProject- the DT project to generate translation strings for, cannot benulllanguages- the languages to generate translation strings for, cannot benullstorageId- 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
-