-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for French language and improve validation rules #3
Conversation
Hi @charleskoko Thank you for the PR at first glance it looks great! I will get it reviewed over the next few days Many Thanks Mike |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments on the PR and some things we could work on together if you like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@charleskoko Think I'm happy with this for now, I'll merge and we can work on the remaining
This pull request introduces the following key changes to the Blasp package:
Default Language Set to English:
The package now defaults to English (en) for profanity detection.
Support for French:
The package has been extended to support French language. Users can specify the desired language by passing a language code ('en', 'fr'.) as an argument.
Laravel Validation Rule Update:
The custom Laravel validation rule blasp_check now supports language-specific validation. Users can validate French text input for profanities by specifying the
blasp_check:fr
rule.This update makes the package more versatile for multi-language applications, starting with French support.