We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SiteLanguage->getTwoLetterCode()
1 parent ed3866d commit b05460fCopy full SHA for b05460f
Classes/ViewHelpers/DeeplTranslateViewHelper.php
@@ -44,8 +44,8 @@ public function render(): array
44
) {
45
if ($mode === self::GLOSSARY_MODE) {
46
if (!DeeplBackendUtility::checkGlossaryCanCreated(
47
- $context->getSiteLanguage()->getTwoLetterIsoCode(),
48
- $siteLanguage->getTwoLetterIsoCode()
+ $context->getSiteLanguage()->getLocale()->getLanguageCode(),
+ $siteLanguage->getLocale()->getLanguageCode()
49
)
50
51
continue;
0 commit comments