PHP went from 'going nowhere' to 'literally everywhere'โmobile, desktop, hardware, CLI, you name it! ๐ช
When you define texts in Laravel, you either define the key or the string content, and neither option is perfect.
With the first, itโs hard to know whatโs actually there, and with the second, you risk messing up your translation keys by changing even a single character.
So, Iโve just published Laratext, a Laravel package to easily manage and automate translations in your Laravel projects.
โ
Use simple helpers like text('key', 'Default value') or Blade directives like @text('key', 'Default')
โ
Auto-scan your codebase and extract translation keys
โ
Automatically translate missing keys using OpenAI or Google Translate
โ
Easily extend it with your own custom translators
Check it out here ๐
github.com/edulazaro/laratext
๐ ๐ช๐ฒ๐น๐ฐ๐ผ๐บ๐ฒ ๐๐ผ ๐ ๐ ๐๐ถ๐ฟ๐๐ ๐๐ฎ๐ฟ๐ฎ๐๐ฒ๐น ๐ง๐๐๐ผ๐ฟ๐ถ๐ฎ๐น ๐๐ณ๐๐ฒ๐ฟ ๐ฑ ๐ฌ๐ฒ๐ฎ๐ฟ๐!
i'm super excited ๐คช & pumped up ๐ to announce that finally i've uploaded my ๐ญ๐๐ ๐๐๐น๐น ๐ฆ๐๐ฎ๐ฐ๐ธ ๐ช๐ฒ๐ฏ ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐บ๐ฒ๐ป๐ ๐ช๐ถ๐๐ต ๐๐ฎ๐ฟ๐ฎ๐๐ฒ๐น ๐๐ผ๐๐ฟ๐๐ฒ video on my ๐ฌ๐ผ๐๐ง๐๐ฏ๐ฒ channel.
๐ง๐ต๐ถ๐ ๐๐ถ๐ฑ๐ฒ๐ผ ๐ถ๐ ๐ฑ๐ถ๐๐ถ๐ฑ๐ฒ๐ฑ ๐ถ๐ป๐๐ผ ๐ฐ ๐ฝ๐ฎ๐ฟ๐๐:
๐ญ. ๐คต๐ฃ๐ฒ๐ฟ๐๐ผ๐ป๐ฎ๐น ๐๐ป๐๐ฟ๐ผ๐ฑ๐๐ฐ๐๐ถ๐ผ๐ป โ Who am i? How much experience do i have? When did i started my web development journey?
๐ฎ. ๐ ๐๐ป๐๐ฟ๐ผ๐ฑ๐๐ฐ๐๐ถ๐ผ๐ป ๐๐ผ ๐๐ต๐ฒ ๐๐ฎ๐ฟ๐ฎ๐๐ฒ๐น ๐๐ฐ๐ผ๐๐๐๐๐ฒ๐บ โ A big-picture look at what Laravel offers
๐ฏ. ๐งญ ๐จ๐ป๐ฑ๐ฒ๐ฟ๐๐๐ฎ๐ป๐ฑ๐ถ๐ป๐ด ๐ ๐ฉ๐ ๐๐ฟ๐ฐ๐ต๐ถ๐๐ฒ๐ฐ๐๐๐ฟ๐ฒ โ A beginner-friendly explanation of how Model-View-Controller works
๐ฐ. โ๏ธ ๐๐ฎ๐ฟ๐ฎ๐๐ฒ๐น ๐๐ป๐๐๐ฎ๐น๐น๐ฎ๐๐ถ๐ผ๐ป & ๐ฆ๐ฒ๐๐๐ฝ ๐๐ถ๐๐ต ๐๐ฒ๐ฟ๐ฑ โ A step-by-step walkthrough to get Laravel up.
๐ ๐ฆ๐ต๐ผ๐๐๐ผ๐๐ #๐ญ ๐๐ผ ๐ฎ ๐๐ฟ๐ถ๐น๐น๐ถ๐ฎ๐ป๐ ๐ฃ๐ฎ๐ธ๐ถ๐๐๐ฎ๐ป๐ถ ๐๐ฎ๐ฟ๐ฎ๐๐ฒ๐น ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐ฒ๐ฟ!
Big thanks to ๐ ๐๐๐ฎ๐บ๐บ๐ถ๐น for creating ๐๐๐ป๐ฐ๐บ๐ผ๐ฑ๐ฒ๐น๐ณ๐ถ๐น๐น๐ฎ๐ฏ๐น๐ฒโan incredibly useful Laravel package that ๐ฎ๐๐๐ผ๐บ๐ฎ๐๐ถ๐ฐ๐ฎ๐น๐น๐ ๐๐๐ป๐ฐ๐ $๐ณ๐ถ๐น๐น๐ฎ๐ฏ๐น๐ฒ ๐ฝ๐ฟ๐ผ๐ฝ๐ฒ๐ฟ๐๐ถ๐ฒ๐ with your database columns! ๐
Why this is a game-changer?
โ
No more manually updating $fillable when your migrations change.
โ
Saves time & reduces human error in Laravel projects.
โ
Works seamlessly by reading your migrations and updating models.
This is the kind of smart, practical tool that makes a developerโs life easier ๐
๐๐ต๐ฒ๐ฐ๐ธ ๐ถ๐ ๐ผ๐๐ & ๐ ๐๐ต๐ฒ ๐ฟ๐ฒ๐ฝ๐ผ:
๐ https://lnkd.in/d67AUy9y
Great work, ๐ ๐๐๐ฎ๐บ๐บ๐ถ๐น! ๐ Pakistanโs Laravel community is proud of such innovations ๐
#Laravel
#PHP