jsonrainbow / json-schema

PHP implementation of JSON schema. Fork of the http://jsonschemaphpv.sourceforge.net/ project
MIT License
3.54k stars 354 forks source link

Enable localization of error messages #579

Open PetrToman opened 5 years ago

PetrToman commented 5 years ago

Please consider refactoring the code so that localization of error messages is possible. Most strings are in ConstraintError.php, but not all - see JsonDecodingException.php or SchemaStorage.php, for example.

erayd commented 5 years ago

@PetrToman Please feel free to submit a PR for this. This project is extremely short of manpower - so if you're wanting us to implement this for you, it's unlikely to happen any time soon; there are a number of higher priority issues that require attention. If you do the heavy lifting and submit a PR, it'll happen an awful lot faster.