Problem/Motivation
In a multilingual situation we only see NA.
I think this is related to language settings.
Steps to reproduce
Configure your site with multiple languages. Make dutch your default language.
Enable (configure) the module, you will see only NA where the links should be.
Proposed resolution
If we switch the default language we can get te correct link to appear.
This is not what we wish because we want the default language to be Dutch, not english.
Removing "isDefault Check" in the following piece of code in ChatGPTTranslateForm.php makes the link to show up.
if (!$isDefault && !$node->hasTranslation($langcode)) {
$additional = $row_title;
}
else {
$additional = $this->t('NA');
}
"
Comments
Comment #2
wouters_f commentedComment #5
immaculatexavier commentedComment #6
wouters_f commented"The default language is require to make the chatgpt translation available"
Comment #7
frocha commentedI've made an update to the patch. Fixed a problem with the moderation state.
Comment #8
anup.sinha commentedHi Everyone, many thanks for working on it. The latest patch by @developer-rocha has been merged into the 2.0.x branch and tested.
Comment #9
anup.sinha commented