antfroger/dont-translate-bundle
{{ 'welcome.message' }} instead of "Welcome!") without modifying code or disabling translations globally. Reduces context-switching between UI and translation files.ROLE_TRANSLATOR), aligning with internal tooling needs for non-developer stakeholders (e.g., linguists, content teams).symfony/translation + custom middleware to toggle debug mode via environment variables.laravel-debugbar with custom translation dumper or this Laravel package for similar debugging."This lightweight tool lets our localization team instantly see raw translation keys (e.g., {{ 'error.404' }}) instead of translated text by flipping a URL parameter or cookie—no code changes required. It’s like ‘View Source’ for translations, reducing debugging time by 30% for multilingual features. Since it’s role-restricted, we can safely enable it in staging/production for translators without risking broken UIs for users. The trade-off? It’s Symfony 2-only, so we’d need to evaluate alternatives if we’re upgrading the stack."
*"Pros:
Cons:
Recommendation: Pilot this for our current Symfony 2 apps if translation debugging is a pain point. If we’re migrating to Symfony 4+/Laravel, deprioritize and replace with a framework-native solution."*
"Imagine clicking a button in staging and seeing every translation key in the UI—no more guessing where ‘Submit’ or ‘Error’ strings are defined. This tool does that with a URL tweak (e.g., ?untrans=1) or browser cookie. It’s like a ‘cheat sheet’ for all your translation files, and only admins/translators can use it. Perfect for catching missing keys or typos before launch!"
How can I help you explore Laravel packages today?