Open WatheqAlshowaiter opened 2 years ago
In the official docs, there is no best practise stated as I know. According to the official Laravel translation strings (in this example, the validation rules), Laravel is using snake_case
.
Example: https://github.com/laravel/laravel/blob/9.x/lang/en/validation.php#L17
A best practise on that should be added to the docs I guess.
What is the best practice for the translation variables?
for example __('some variable')
do we do it as snake_case or kebab-case or camelCase?