public function loadByLanguage($language)
    {
        if (!is_null($language) && !preg_match('/[a-z]{2}/', $language)) {
            throw new ShopgateLibraryException(
                ShopgateLibraryException::CONFIG_READ_WRITE_ERROR,
                'invalid language code "' . $language . '"',
                true,
                false
            );
        }

        $this->loadFile($this->buildConfigFilePath('myconfig-' . $language . '.php'));
        $this->initFileNames();
    }