System.out.print(templateElement.isLanguageVariantDependent() + " " + templateElement.getName() + " ");
for (int i = 0; i < languages.length; i++) {
// switch language variant
String language = languages[i];
LanguageVariant languageVariant = project.getLanguageVariantByRfcLanguageId(language);
ContentElement contentElement = matrix.getContentElement(templateElement, languageVariant);
String value = "n/a";
if (contentElement != null) {
value = contentElement.getValueAsString();
}
System.out.print("result " + languageVariant.getRfcLanguageId() + "=" + value + " ");
if (matrix.isTextValueDifferentFromMainLanguage(templateElement, mainLv, languageVariant)) {
System.out.println(" ==> value different");
}