sitegeist / Sitegeist.LostInTranslation

Automatic Translations for Neos via DeeplApi
GNU General Public License v3.0
9 stars 10 forks source link

BUGFIX: Handle languages with combined dimension values #4

Closed mficzel closed 2 years ago

mficzel commented 2 years ago

When languages had a combined dimension value like en_uk only the first part of the values was used to access the preset of the dimension which obviously could not work for combined language identifiers. This change adjusts this behavior and ensures that the dimension-preset is identified by the whole key but only the first part is used as deeplLanguage