Skip to content

Commit

Permalink
enable all langs
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Jun 24, 2024
1 parent 027146c commit 26d4ae3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/AnniversaryCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 26d4ae3

Please sign in to comment.