Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Default language no added in url #15

Open
gvestit opened this issue Jan 18, 2024 · 0 comments
Open

Default language no added in url #15

gvestit opened this issue Jan 18, 2024 · 0 comments

Comments

@gvestit
Copy link

gvestit commented Jan 18, 2024

Hi,

I hope this message finds you well. We are currently looking to implement a specific URL architecture for our multilingual website and would like some guidance on achieving the desired structure.

Our website's default language is Spanish, and we intend to maintain Spanish URLs without any language path prefix. However, for English and French, we would like to append the language code to the URL. Below are examples of how we envision the URL structure:

Default Spanish Language URLs:

site.net (Homepage in Spanish)
site.net/nosotros (About Us page in Spanish)
English Language URLs:

site.net/en (Homepage in English)
site.net/en/about (About Us page in English)
French Language URLs:

site.net/fr (Homepage in French)
site.net/fr/nous (About Us page in French)
The main objective is to have the default language (Spanish) displayed as if it's a monolingual site (without language prefix in the URL), while the English and French versions would include the /en/ or /fr/ prefix respectively.

We would greatly appreciate any insights or recommendations on how to configure our routing module to support this URL structure. If there's any documentation or examples that you could point us towards, that would also be immensely helpful.

Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant