Controller/Adminhtml/Connector/Trial.php
private function _getCultureId()
    {
        $fallback = 'en_US';
        $supportedCultures = [
            'en_US' => '1033',
            'en_GB' => '2057',
            'fr_FR' => '1036',
            'es_ES' => '3082',
            'de_DE' => '1031',
            'it_IT' => '1040',
            'ru_RU' => '1049',
            'pt_PT' => '2070',
        ];
        $localeCode = $this->helper->getWebsiteConfig(\Magento\Directory\Helper\Data::XML_PATH_DEFAULT_LOCALE);
        if (isset($supportedCultures[$localeCode])) {
            return $supportedCultures[$localeCode];
        }

        return $supportedCultures[$fallback];
    }
private function _getCultureId()
    {
        $fallback = 'en_US';
        $supportedCultures = [
            'en_US' => '1033',
            'en_GB' => '2057',
            'fr_FR' => '1036',
            'es_ES' => '3082',
            'de_DE' => '1031',
            'it_IT' => '1040',
            'ru_RU' => '1049',
            'pt_PT' => '2070',
        ];
        $localeCode = $this->helper->getWebsiteConfig(\Magento\Directory\Helper\Data::XML_PATH_DEFAULT_LOCALE);
        if (isset($supportedCultures[$localeCode])) {
            return $supportedCultures[$localeCode];
        }

        return $supportedCultures[$fallback];
    }
private function _getCultureId ( ) { $ fallback = 'en_US' ; $ supportedCultures = [ 'en_US' => '1033' , 'en_GB' => '2057' , 'fr_FR' => '1036' , 'es_ES' => '3082' , 'de_DE' => '1031' , 'it_IT' => '1040' , 'ru_RU' => '1049' , 'pt_PT' => '2070' , ] ; $ localeCode = $ this -> helper -> getWebsiteConfig ( \ Magento \ Directory \ Helper \ Data :: XML_PATH_DEFAULT_LOCALE ) ; if ( isset ( $ supportedCultures [ $ localeCode ] ) ) { return $ supportedCultures [ $ localeCode ] ; } return $ supportedCultures [ $ fallback ] ; }
Get culture id needed for trial account.

@return array
Get culture id needed for trial account .