
Kevin Bond
@zenstruck
Followers
911
Following
3K
Media
40
Statuses
1K
Open Source, #PHP, #Symfony Developer. Writer @SymfonyCasts, @Symfony Core Member. Author of https://t.co/MK05b2VaRK packages.
Kitchener, Ontario, Canada
Joined March 2009
RT @SymfonyCasts: We've successfully pushed our English translations up to @Crowdin. Merci beaucoup! now, let's automatically translate and….
symfonycasts.com
Our "Space Bar" project on Crowdin is all set up and configured for our app's locales. Let's push up our translations! At your terminal, run: """terminal symfony console translation:push """ Ok, all...
0
1
0
RT @SymfonyCasts: For a course about translations, we really haven’t done much "translating" yet. That’s kinda important! Symfony has integ….
symfonycasts.com
So far, we've mostly focused on translating our site from English to... English... What about French and Spanish? We've talked a bit about how we can manually send our "messages.en
0
3
0
RT @SymfonyCasts: The translation:extract command automates pulling missing translation keys from your PHP and Twig files. But it also has….
symfonycasts.com
So far, we've been creating translation keys and manually adding them, and their values to "messages.en
0
1
0
RT @SymfonyCasts: The Symfony CLI makes local development a breeze - but it works best when PHP is installed directly on your machine. Let'….
0
3
0
And behind the scenes, a HUGE amount of housekeeping by @HugoAlliaume! Thanks for all your effort on this one! 🙇♂️.
🧵 #SymfonyUX 2.28 is out!. A packed release for LiveComponent, Autocomplete, Map, React… and some big internal changes! 🚀. ℹ️ If your project has a package.json and use NPM or Yarn, go for 2.28.1 which fix an issue with related UX internal tooling . ---. Let’s dive in 👇.
1
1
15
RT @SymfonyCasts: HTML in your translations, it's gonna happen. There isn't a perfect solution, so let's take a look at our options. https:….
symfonycasts.com
Here's another complex scenario. On our homepage, scroll down to the footer
0
1
0
RT @SymfonyCasts: Let's look at a more complex translation, one with dynamic values and pluralization, because "1 dinosaurs" doesn't sound….
symfonycasts.com
Onward! Let's find a complex translation scenario. On the article page, scroll down and find the comments section
0
3
0
RT @SymfonyCasts: One last thing before we finally translate the site: translation "keys". Let's look at why we use these, how to use them,….
symfonycasts.com
We're *almost* ready to start translating this site! But before we get started, I want to show a little teensy tiny problem with our setup so far. We still have this "Hello World!" text so jump into...
0
1
0
RT @SymfonyCasts: Let's do the real work of translating! See where and how you translate text, the "anatomy" of a translation, creating, an….
symfonycasts.com
It's time to actually do some translating! There's two main places you typically translate content. First: in PHP code, like flash messages in your controllers
0
1
0
RT @SymfonyCasts: Let's create a nifty language switcher widget since having users manually manipulate the URL in their address bar is a hu….
symfonycasts.com
We have localized routing up and running, but we can only switch locales by manually updating the URL. That won't do! Instead, let's add a language switcher! Up here, next to our search form, we need...
0
1
0
RT @SymfonyCasts: With the Translation component installed and configured, our next step is to figure out what language a user wants. There….
symfonycasts.com
We installed the translation component. Go us! Also, our pages are advertised via the "lang" attribute as our default locale: "en"
0
1
0
RT @SymfonyCasts: 🇬🇧 🔄 🇪🇸 🔄 🇫🇷 New course all about the Symfony Translation component! We'll take an English-only site, translate it into m….
symfonycasts.com
Hey friends! e alegro de que te hayas unido a mí en este curso de sobre las traducciones de Symfony! In this tutorial, we're celebrating one of the oldest components in Symfony, but for the first...
0
1
0
RT @SymfonyCasts: How do we join across a ManyToMany relation with that nasty join table in the center? By ignoring it! It’s all properties….
symfonycasts.com
Ever wondered which starship in the fleet is crawling with the most droids? Me too! Let's list every ship in ascending order based on their droid count. Dive into "src/Controller/MainController
0
1
0
RT @symfony: 🚀 Kicking off the Symfony AI Initiative.➡️
symfony.com
Kicking off the Symfony AI Initiative
0
74
0
RT @phpstorm: The recordings from @jetbrains #PHPverse 2025 are now available to watch! You can catch up on any sessions you might have mi….
0
10
0
RT @SymfonyCasts: If you already love Foundry (I do!), wait until you see how simple it is to create a *fleet* of ships and their parts htt….
symfonycasts.com
OK, we have a couple of parts and a few starships, but to fill our testing data fleet: I want a *lot* more. This is a job perfectly suited for our good friend: Foundry
0
1
0
RT @SymfonyCasts: How do we relate a part to its ship? Throw away all that noise about ids & foreign keys: In Doctrine, we relate *objects*….
symfonycasts.com
Ok, but how do we actually set the relation? How do we say: > This "StarshipPart" belongs to this "Starship"? So far, we've been working in "AppFixtures" with Foundry. We'll come back to Foundry in a...
0
2
0
RT @SymfonyCasts: ManyToOne: the king of all relations. The way this looks in PHP & the database is nerd wonderful!
symfonycasts.com
Alright folks, we've successfully built "Starship" and "StarshipPart" entities, and... they're sitting pretty in the database. But here's the puzzle: how do we *attach* these parts to their respect...
0
1
0
RT @phpstorm: Up next: a deep dive into education 🧑🎓. Led by some of the most respected voices in the field – @jeffrey_way, @zenstruck, an….
0
8
0
RT @SymfonyCasts: To track our starship parts let’s create a StarshipPart entity & load the database via Foundry. Don’t forget the “part” c….
symfonycasts.com
We already have starships showing up on the homepage thanks to the "Starship" entity we built in the last tutorial. But now, it's time to step up our game
0
2
0