Locale mvLocale = i18nMgr.getLocaleOrDefault("de");
String testTargetBundle = "org.olat.core.util.i18n.junittestdata.devtools.target";
// test before move
Properties targetProperties = i18nMgr.getPropertiesWithoutResolvingRecursively(mvLocale, testTargetBundle);
assertTrue(!targetProperties.isEmpty());
tDMgr.moveLanguageTask(mvLocale, srcPath, targetPath, false);
// test after move
targetProperties = i18nMgr.getPropertiesWithoutResolvingRecursively(mvLocale, testTargetBundle);
assertTrue(!targetProperties.isEmpty());
//move language: source should NOT exist
tDMgr.moveLanguageTask(mvLocale, srcPath, targetPath, true);