Multi-Language Laravel: Part 1 - Static Texts

preview_player
Показать описание
In this video, we discuss what helpers Laravel offers for loclization and translations, and exactly how they work.

00:00 Intro
00:31 Double Underscore __ Function
02:53 Other Helpers: @lang and trans()
04:05 Singular or Plural Text?
05:22 Parameters with a "Trick"
06:24 Locales in Routes and URLs
07:57 Localized Routes Package

- - - - -
Support the channel by checking out our products:

Рекомендации по теме
Комментарии
Автор

Your videos are like breakfast for me now. Can't be skipped.

suhaibts
Автор

Great channel! My boss said a week ago that we need to watch your newest video every day with morning coffee :)

Valuk
Автор

The best content for laravel developers, thanks for sharing your knowledge ( btw, spanish word for name is "Nombre" ) 😁

Thotsuya
Автор

Thanks a lot “amigo”. You are a genius! Greetings from Argentina

Gonza
Автор

As I always write that you are provide best knowledge instead of those who record hourly tutorials.

NotBeHaris
Автор

I havent watched many of your vids but just so you know, really appreciate them.

BobDoe_
Автор

Thank you, I suggest you use a program called BabelEdit that allows you to manage translations in the various directories from a single point, supports laravel and vuejs and many other frameworks.

AlainMartini
Автор

in the route group the second array index ('where'), the value of the key has to be an associative array -> ['lang' => 'regex']

qsmfoui
Автор

Povilas, probably something that would be a great addon to translations would be an extensive explanation of using timezones? Thanks for your great work, watching every new video daily.

michielprins
Автор

I'm latin code lover. Thanks for sharing that info.

victormanueldiaz
Автор

I've needed it so much, thank you!

lelustudio
Автор

I always see your videos. I'm from Argentina and i'm making a large system. You help a lot with your explanations. Thank you so much!!

cheketo
Автор

great work i am realy appreciate your content is best.

netconsole
Автор

Great explanation from a great man. Thanks for your effort. A question how we can load a view with a specific language. For example i have a invoice that can be printed with three languages without changing language globally.

mohamedfkr
Автор

Thanks for your videos. What about RTL Languages like Arabic or Persian (Farsi) ? It needs to update all text-left attribute to text-right in classes. How do we handle that ?

mojtabahashemi
Автор

but if the no users in the database there also show "Join many users in our system'" in the database using trans_choice() helper

asada
Автор

please make a video of" laravel sanctum abilities"....please

sakirs
Автор

Super easy and it solved a huge problem I had with Laravel's default localization.

kievthedeaf
Автор

Hi,

I don't know if you can confirm this: reading for file text is more quick that reading for database.

Thank you

aomo
Автор

Great videos for Laravel!! One question. What if you have home pages with lots of long descriptions filled with html(lets say something like airbnb home page) and code inside. Do you split views for different languages?

celotrovi
welcome to shbcf.ru