Views
Replies
Total Likes
Hi @AlexFe3 ,
If only translateArray() is being called in your custom AEM translation connector, it means AEM thinks your connector only supports basic machine translation. That’s why none of the extra methods like createJob(), updateJob(), or translation memory functions are triggered.
Fix
You must tell AEM that your connector supports more features. In your service class (BootstrapTranslationServiceImpl), enable them like this:
@Override
public boolean supportsTranslationJobControl() {
return true;
}
@Override
public boolean supportsTranslationMemory() {
return true;
}
@Override
public TranslationMethod getTranslationMethod() {
return TranslationMethod.HUMAN; // or CUSTOM
}
Then in AEM:
Go to Tools → Cloud Services → Translation Cloud Services
Edit your connector config
Set Translation Method = Human Translation
Enable Translation Memory if needed
After this, AEM will start calling other meta functions automatically.
Thanks & regards,
Vishal
Views
Replies
Total Likes
Hello and thanks for the reply.
None of these methods are available in either the abstract class nor the interface. Is there another class/interface I need to implement to get access to these methods?
Also, perhaps I am misunderstanding how the translation memory features are supposed to work. My general goal is to be able to do machine translation via the connector, and then, if needed, have a human go in and edit any incorrect values. I was expecting to be able to query our DB from the connector methods and return all of the translation memory values, such that a user on the UI could then edit them if needed. I do not understand how or why "human" translation would affect this.
Views
Replies
Total Likes
Views
Likes
Replies