hi guys i have a problem in change message error in validation i wanna change it to french but i don't know how can i do it this my code :
public function rules() {
return [
'name' => ['required', 'string'],
'group_id' => 'nullable|integer|exists:groups,id',
];
}
public function attributes() {
return [
'name' => 'nom',
'group_id' => "ID de group"
];
}
but in response show me "group id " Not "ID de group"
My Answer:
are you asking why PHP is used? If so, PHP is a popular server-side scripting language that is used to create dynamic web pages and applications. It is widely used for building websites and web applications because of its simplicity, flexibility, and compatibility with various databases and servers. PHP also has a large community of developers and a vast amount of resources and documentation available, making it a popular choice for web development.
Rate this post
4 of 5 based on 5326 votesComments