UserFrosting icon indicating copy to clipboard operation
UserFrosting copied to clipboard

Replace php arrays for json/yaml files for language `key => message` definitions

Open lcharette opened this issue 5 years ago • 1 comments

Title is pretty self explanatory. Yaml/Json file are easier to manipulate and validate than the arrays, which needs to actually be be included and could pose a security risk.

lcharette avatar Apr 28 '20 20:04 lcharette

Re the JSON, would be nice if a JSON Schema definition could be created to validate it. Also helps in supports IDEs like VSCode as you get autocompletion.

Silic0nS0ldier avatar Apr 28 '20 23:04 Silic0nS0ldier