Package com.liferay.translation.manager
Interface TranslationManager
public interface TranslationManager
-
Method Summary
Modifier and TypeMethodDescriptiongetXLIFFFile(String className, long classPK, String xliffMimeType, Locale locale, String sourceLanguageId, String targetLanguageId) getXLIFFZipFile(String className, long[] classPKs, String xliffMimeType, Locale locale, String sourceLanguageId, String[] targetLanguageIds) voidprocessXLIFFTranslation(long groupId, String className, long classPK, Translation translation, List<String> successMessages, List<Map<String, String>> failureMessages, Locale locale, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
getTitle
-
getXLIFFFile
File getXLIFFFile(String className, long classPK, String xliffMimeType, Locale locale, String sourceLanguageId, String targetLanguageId) throws IOException, com.liferay.portal.kernel.exception.PortalException - Throws:
IOExceptioncom.liferay.portal.kernel.exception.PortalException
-
getXLIFFZipFile
File getXLIFFZipFile(String className, long[] classPKs, String xliffMimeType, Locale locale, String sourceLanguageId, String[] targetLanguageIds) throws IOException, com.liferay.portal.kernel.exception.PortalException - Throws:
IOExceptioncom.liferay.portal.kernel.exception.PortalException
-
processXLIFFTranslation
void processXLIFFTranslation(long groupId, String className, long classPK, Translation translation, List<String> successMessages, List<Map<String, String>> failureMessages, Locale locale, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws IOException, com.liferay.portal.kernel.exception.PortalException- Throws:
IOExceptioncom.liferay.portal.kernel.exception.PortalException
-