Skip to content

Commit

Permalink
comment on how to handle supported languages
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Jun 23, 2024
1 parent d784229 commit da0d0be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/AnniversaryCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ 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
// 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" ]; //"es", "fr", "de", "pt"

public const RECURRING = [
Expand Down

0 comments on commit da0d0be

Please sign in to comment.