Package com.jalios.jcms.l10n
Class DataLocalizationUpdater
- java.lang.Object
-
- com.jalios.jcms.l10n.DataLocalizationUpdater
-
public class DataLocalizationUpdater extends java.lang.Object
Static utility that re-localize a given data.- Since:
- jcms-10.0.8 / JCMS-10722
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
reLocalizeData(Data data, Data updated, java.lang.String sourceLanguage, java.lang.String targetLanguage)
Update ML text fields to be in target main language.
-
-
-
Method Detail
-
reLocalizeData
public static void reLocalizeData(Data data, Data updated, java.lang.String sourceLanguage, java.lang.String targetLanguage)
Update ML text fields to be in target main language.Does not perform update, only work in memory.
- Parameters:
data
- data to be re-localizedupdated
- update instance to work onsourceLanguage
- previous site default langtargetLanguage
- new site default lang- Since:
- jcms-10.0.8 / JCMS-10722
-
-