Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

I18N Routing Bundle Laravel Package

h2invent/i18n-routing-bundle

A Symfony bundle for internationalized routing, letting you define locale-aware routes with translated path segments and automatic locale prefixes. Simplifies building multilingual URLs and language switching in Symfony applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Framework-fit triage (the first decision): This is a Symfony bundle (JMSI18nRoutingBundle lineage), not a Laravel package. There is no service provider, no config publish, no Laravel routing integration. For any Laravel roadmap item, this package supports exactly one decision: reject it and pick a Laravel-native alternative (e.g., mcamara/laravel-localization, or route groups + locale middleware).
  • URL localization strategy: On a Symfony codebase, it answers the "how do we represent locale in URLs" question — path-prefix routing (/en/about, /de/ueber-uns) with translated path segments, per-locale route names, and Accept-Language redirect on first visit. That's a real product choice (SEO-friendly locale paths vs. cookie/header-only switching vs. subdomains), and this bundle presumes the path-prefix answer.
  • SEO / international growth: If the roadmap includes multi-market launch, hreflang correctness, or localized slugs for organic search, locale-prefixed routes are a prerequisite. This is the category of package that unblocks that work — for Symfony shops.
  • Build vs. buy: Localized routing is a solved, low-differentiation problem. Nobody should hand-roll locale-prefix listeners and Accept-Language negotiation. Buy (or use a maintained OSS equivalent) — the question is which one.
  • Not a decision driver for: performance, pricing, checkout, or any surface where localization is already handled by a translation layer (Spatie Translatable, Laravel Lang) and routing is locale-agnostic.

When to Consider This Package

Only consider it if all of the following hold:

  • The application is Symfony, already on Symfony Routing/HttpKernel and comfortable with JMS bundle conventions.
  • You specifically need translated path segments per locale plus locale-prefixed URLs and browser-language redirects — not just translated content.
  • You need a patch or behavior that upstream jms/i18n-routing-bundle doesn't give you, since this is a fork.

Look elsewhere — decisively — when:

  • The stack is Laravel. This is disqualifying, not a trade-off. Adopting it means pulling Symfony routing primitives into a Laravel app; the integration cost swamps any feature benefit.
  • Dependency risk matters. 0 stars, 0 dependents, 0 downstream consumers means zero ecosystem validation and no community security-patch path. A single-maintainer fork of a routing bundle sits directly in the request lifecycle — a bad place for a low-bus-factor dependency. Prefer the upstream bundle or a well-adopted fork.
  • You need subdomain- or domain-per-locale routing as the primary strategy, or CDN/edge-level geo-redirects — those live outside this bundle's scope and belong in your edge/router config.
  • The team can't absorb fork maintenance. If nobody on the team can read Symfony routing internals, an unmaintained fork is a liability, not a shortcut.

How to Pitch It (Stakeholders)

To executives: This is a narrow, low-cost Symfony utility that localizes URLs for international SEO — locale-prefixed paths and translated slugs. The catch is material: it's a zero-adoption fork (no stars, no dependents, single maintenance path) sitting in the request pipeline, and it is not compatible with our Laravel stack. Recommendation: do not adopt. If internationalized routing is on the roadmap, we solve it with a Laravel-native library at similar or lower cost and with real community support.

To engineering: Symfony bundle, config-driven, handles locale prefixes, per-locale route names, translated path segments, and Accept-Language redirects. No Laravel integration whatsoever — no service provider, no facade, no published config. If we were a Symfony shop this would be a plausible drop-in; we aren't, so the only engineering action is to confirm we're not accidentally pulling it in transitively.

Bottom line: A "no" with a clear alternative. The product need (localized, SEO-correct URLs) is real and worth funding; this package is the wrong vehicle for a Laravel product and a vendor-risk vehicle even on Symfony.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel