Skip to content

1.22.0

Compare
Choose a tag to compare
@boxblinkracer boxblinkracer released this 11 Nov 20:01
· 63 commits to main since this release

[1.22.0]

Added

  • Add new SpellCheckers with support for Aspell and OpenAI. This allows to check misspelled words and automatically fix them.
  • Add new Shopware 6 Storage option to support config XML files of Shopware plugins and apps. You can now validate config.xml, manifest.xml and more.
  • Add new usage summary when using Open AI. It shows the number of requests as well as the estimated costs. (approximate values, not guaranteed).
  • Add new similarity validation for translations. This allows to validate if translation keys are similar to each other.
  • Add new command list:translation-keys. The old list:translations command will now show all translations and the new one will show the keys only.
  • Allow DeepL / translator configuration with env variables (thx @Ocarthon)
  • Enable DeepL tag splitting on HTML input to also translate HTML fragments (thx @Ocarthon)
  • Support referencing Shopware snippets by their snippet set name (thx @Ocarthon)
  • TranslatorInterfaces do now have a fixSpelling option. A new command "fix:spelling" has been introduced to let services fix misspelled translations.

Changed

  • Improve performance with lots of snippets and sets by adding lazy loading of snippets (thx @Ocarthon)
  • Massive performance improvement by using indexed array for translations and reduce amount of loops (thx @Ocarthon)
  • HTML Exports are now saved into separate files for each translation-set (thx @Ocarthon)
  • Load dotenv files from current working directory (thx @Ocarthon)
  • Use mb collation for database collection (MySQL utf8 is not actually utf8) (thx @Ocarthon)
  • Insert shopware translation, if no corresponding row exists (thx @Ocarthon)

Fixed

  • Check all locales to determine the translation keys. Sometimes this did not happen and therefore not all keys have been detected (thx @Ocarthon)
  • Fix problem with translate command and force flag (thx @Ocarthon)
  • Fix problem where the error CLI output also showed successful test results and not just errors.
  • Fix problem with googleweb translator where a "." was not correctly kept after translation into a German word.
  • Fix problem where the JSON storage format cleared all translations when a JSON was not valid and any kind of write-command was used like fix-structure.