Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-7792

Automated translation bundle does not allow you to select the source language

    XMLWordPrintable

Details

    • Yes

    Description

      Steps to reproduce

      1. Add the automated translation bundle: https://github.com/ibexa/automated-translation
      2. Configure it: 
        1. in bundles.php move 
      Ibexa\Bundle\AutomatedTranslation\IbexaAutomatedTranslationBundle::class => ['all' => true],

      before 

      Ibexa\Bundle\AdminUi\IbexaAdminUiBundle::class => ['all' => true], 

      2. Add config:

      ibexa_automated_translation:
          system:
              default:
                  configurations:
                      google:
                          apiKey: "google-api-key"
                      deepl:
                          authKey: "deepl-pro-key" 
      1. Add jQuery - yarn add jQuery and autoProvidejQuery() to webpack encore
      2. Try to translate any content

       

      Result

      The source language is grayed out with information that there are no options to choose from

       

      Expected

      possibility of translating content from any source language to the target language through the selected translation system (manual/deepl/google translate)

       

      The second problem is that if I manage to select languages, an error appears

      Warning: foreach() argument must be of type array|object, string given at vendor/ibexa/automated-translation/src/lib/Encoder/Field/PageBuilderFieldEncoder.php:106 

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: