To internationalize Exceptions, or just going down?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
16 views
Sometimes, messages crashes were displayed to the end polzoatel. And you have to perehvatyvat, exasan and to translate his message.

Right? Can translate? Or add validation rules with translations? What if such a package as beberlei/assert, he spits only exacty?
by | 16 views

1 Answer

0 like 0 dislike
In the end, exepct for user = 503
+ it is possible to hash from the ID error, like Google, for example

Localization is best done through php.net/manual/en/function.gettext.php
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
7 answers
asked Apr 9, 2019 by Danbka
0 like 0 dislike
3 answers
110,608 questions
257,187 answers
0 comments
40,796 users