bramus / bramus/router

Multilingual default route without lang

Open
#196 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1.1k
Forks
236
PR merge metrics
No merged PRs in 30d

Description

Hi,
I wanted to know if it's possible to have default language on root / instead of /lang. I.e:

http://multilingual.com/ instead of http://multilingual.com/en
http://multilingual.com/blog instead of http://multilingual/en/blog

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the router registers and matches language-prefixed routes. Define the expected behavior for `/` and `/blog` alongside existing `/en` paths, then verify that default-language URLs route correctly without breaking explicitly prefixed URLs.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.