-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
Description
Since Symfony 2.7 (using 2.7.3 atm) I have an issue with the translations and always get an exception.
I'm still debugging but my guess is since we are using nl_BE and nl_NL (fallback locale nl_BE) there is an issue with the built-in translations/validators using the short locale (nl). From what I discover in the cache files this is happening:
catalogue.nl_BE.php:
$catalogue = new MessageCatalogue('nl_BE', array ());
$catalogueNl = new MessageCatalogue('nl', array ());
$catalogue->addFallbackCatalogue($catalogueNl);
return $catalogue;
catalogue.nl_NL.php:
$catalogue = new MessageCatalogue('nl_NL', array ());
$catalogueNl = new MessageCatalogue('nl', array ());
$catalogue->addFallbackCatalogue($catalogueNl);
$catalogueNl_BE = new MessageCatalogue('nl_BE', array ());
$catalogueNl->addFallbackCatalogue($catalogueNl_BE);
$catalogueNl = new MessageCatalogue('nl', array ());
$catalogueNl_BE->addFallbackCatalogue($catalogueNl);
return $catalogue;