From 26d4ae35257bc7aafecfa871f8782c87434416fe Mon Sep 17 00:00:00 2001 From: "John R. D'Orazio" Date: Mon, 24 Jun 2024 16:01:31 +0200 Subject: [PATCH] enable all langs --- src/AnniversaryCalculator.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/AnniversaryCalculator.php b/src/AnniversaryCalculator.php index 3f1c90dc..ec172140 100644 --- a/src/AnniversaryCalculator.php +++ b/src/AnniversaryCalculator.php @@ -11,10 +11,7 @@ class AnniversaryCalculator public const ALLOWED_ACCEPT_HEADERS = [ "application/json", "application/yaml", "application/xml", "text/html" ]; public const ALLOWED_REQUEST_CONTENT_TYPES = [ "application/json", "application/yaml", "application/x-www-form-urlencoded" ]; public const ALLOWED_REQUEST_METHODS = [ "GET", "POST", "OPTIONS" ]; - // N.B. Do not enable any languages here until they are actually translated (at least partially) - // That way the API will default to English when non supported languages are requested - // and at least we get a result... - public const ALLOWED_LOCALES = [ "en", "it", "fr" ]; //"es", "de", "pt" + public const ALLOWED_LOCALES = [ "en", "it", "fr", "es", "de", "pt" ]; public const RECURRING = [ "ALUMINUM",