Documentation has lots of examples: https://laravel.com/docs/10.x/localization#introduction
Jan 11, 2024
5
Level 1
How to use laravel built-in translations
Hello, How can I use the built-in translations
like if I need to show words like yes, do I have to add it to my lang/text.php
__('text.yes')
I mean it is already stored somewhrere in laravel translation.
Thanks
Level 122
@amoktar There are no built-in translations like 'yes' and 'no'. You can see all the shipped translations in the resources/lang folder
1 like
Please or to participate in this conversation.