Files
esun3d/app/code/Esun/MultiLocaleTranslation/Api/TranslationProviderInterface.php
T
2026-09-15 10:35:56 +08:00

15 lines
344 B
PHP

<?php
declare(strict_types=1);
namespace Esun\MultiLocaleTranslation\Api;
interface TranslationProviderInterface
{
/**
* @param array<string, array{value:string,is_html:bool}> $fields
* @return array<string, string>
*/
public function translate(array $fields, string $sourceLanguage, string $targetLanguage): array;
}