Jump to content

Recommended Posts

Posted

Alright so for the longest time I wondered what some of these were, such as @lang('common.dashboard') , which I now know are references to display names. Are these referenced some where and we can change them or choose from a list? Not sure what these mean, {{ trans_choice('common.pilot', 2) }} , or what the number at the end means.

 

Just wondering. I know we can place static text where we need too to replace those!

Thanks!

Posted
5 hours ago, Nabeel said:

They're all Laravel built-ins for the Blade templating engine

Although I am still going through the Laravel 5.7 Tutorials, I don't grasp these instead of just test yet? But I did find the master file, just trying to understand why these instead of text. Is it like a CSS file one reference takes care of them all? Or something like that?

Posted
18 hours ago, Nabeel said:

Those insert the phrases from the resources/lang files. So if someone has it set to Spanish, it'll use the Spanish translation files

Cool, makes total sense now!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...