mlocati / spf-lib

PHP library to parse, build and validate SPF (Sender Policy Framework) DNS records
MIT License
49 stars 6 forks source link

Translation ? #26

Closed Erwane closed 2 years ago

Erwane commented 2 years ago

hi, Do you think it's possible to extract all issues descriptions with variables in a standard format (like sprintf()) to allow translation ? Thanks

mlocati commented 2 years ago

Since we have an exception class for almost any ptoblem, and since those exceptions come eith the relevant data, it should be rather easy to implement translation

Erwane commented 2 years ago

So, we should check source code to understand exceptions and messages, try to don't forget one and then rewrite them in our app with translations, even for english.