and i need something thats if i want to get use locale in laravel i did this ..
{{trans('language.add')}}
{{trans('language.my_word')}}
{{trans('language.save')}}
{{trans('language.edit_file')}}
and the locale language file is like this ..
<?php
return
[
'add' => 'Add',
'my_word' => 'Any thing here',
'save' => 'Save !',
'edit_file' => 'Edit File',
]
now if i did this code in the blade
{{trans('language.edit_file')}}
the result will be
'Edit File'
now my question is how can i get the key using the word ..
i mean how can i access edit_file using Edit File
i want to access the value Instead of key to access the key
thanks ..