Files
2026-09-15 10:35:56 +08:00

19 lines
429 B
PHP

<?php
declare(strict_types=1);
namespace Esun\MultiLocaleTranslation\Model\Config\Source;
use Magento\Framework\Data\OptionSourceInterface;
class TranslationProvider implements OptionSourceInterface
{
public function toOptionArray(): array
{
return [
['value' => 'deepl', 'label' => __('DeepL')],
['value' => 'google', 'label' => __('Google Cloud Translation V3')],
];
}
}