private function isShopwareLocaleCatalogue(MessageCatalogueInterface
$catalog): bool
{ return mb_strpos($catalog->
getLocale(), '-'
) !== false;
} private function resolveSnippetSetId(string
$salesChannelId, string
$languageId, string
$locale): void
{ $snippetSetId =
$this->snippetService->
findSnippetSetId($salesChannelId,
$languageId,
$locale);
$this->snippetSetId =
$snippetSetId;
} /**
* Add language specific snippets provided by the admin
*/
private function getCustomizedCatalog(MessageCatalogueInterface
$catalog, ?string
$fallbackLocale): MessageCatalogueInterface
{ try { $snippetSetId =
$this->
getSnippetSetId($catalog->
getLocale());
}