-
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
Laravel 6 translation #13
Comments
Expected Behavior Current Behavior Failure Information (for bugs) Steps to Reproduce install argon Context NOTES: I think that the project should switch to using en.json instead of old php translation files. |
IF you can't reproduce, please change line 10 in validation.blade.php to __('validation') with lower case to see the issue. |
the project should switch to using en.json instead of old php translation files. |
Hello @tomandersen. Thank you for using our products. Best |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
{{ __('Validation') }} and {{ __('validation') }} will return the string 'Validation' - in validation.blade.php line 10
Current Behavior
The translation system sees the word 'validation' and loads the entire file validation.php from the en lang resources, which is not right.
Failure Information (for bugs)
ErrorException (E_ERROR)
htmlspecialchars() expects parameter 1 to be string, array given (View: /Users/tandersen/code/aotc-app/resources/views/pages/validation.blade.php)
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
install argon
composer install
Laravel 6
Visit 'Validation' from the left side bar
Crashes
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Context
macOS 10.14.6
Chrome
Failure Logs
Please include any relevant log snippets or files here.
The text was updated successfully, but these errors were encountered: