dimanche 28 juillet 2019

Laravel Localization with validation.php file newbie Post

newbie_post

I am using localization for multiple language support in a project. I set locale='myLanguage' in config>app.php for testing purpose. My login validation(auth.php) file working properly with formatted translation also but when I check my other validation (CRUD validation) it shows me the errors.

[2019-07-28 20:17:55] local.ERROR: syntax error, unexpected ''array'' (T_CONSTANT_ENCAPSED_STRING), expecting ']' {"userId":3,"email":"tanvira1993@gmail.com","exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): syntax error, unexpected ''array'' (T_CONSTANT_ENCAPSED_STRING), expecting ']' at C:\Users\Tanvir Ahamed\Desktop\Remote_job\marketplex esources\lang\Bengali\validation.php:62) [stacktrace]

Example : auth.php-> 'failed' => 'এই তথ্য-প্রমাণের সাথে আমাদের রেকর্ড মেলে না।', 'throttle' => 'অনেক ভুল প্রচেষ্টা। অনুগ্রহপূর্বক আবার চেষ্টা করুন :seconds সেকেন্ড পরে । ', in auth.php it's working well.

validation.php-> 'after' => 'এই :attribute must be a date after :date.', 'after_or_equal' => 'এই :attribute তথ্যটি :date তারিখের সমমান বা পরের তারিখ হতে হবে । ', in validation.php it recives the below errors.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2MnVU4C
via IFTTT

Aucun commentaire:

Enregistrer un commentaire