HubSpot Ideas

finn

Don't hardcode language slug in multilanguage website

Right now in CMS, if I set a page's language to French, the URL gets a hard-coded language slug:

www.domain.com/fr-fr/page-name

where the "fr-fr" bit is hardcoded, i.e. not changeable by the website editor / super admin. Similar for all languages (e.g. Brazilian=pt-br, Danish = da or da-dk, etc).

 

The website URLs should be flexible, so I can decide what my URL structure should be. No hardcoding of a part of the URL. If I want the Brazilian site to be e.g. domain.com/br/ then I should be able to choose that. If I want to have a page in Brazilian Portuguese directly under the main domain (e.g. domain.com/precos) next to a page in English (e.g. domain.com/prices) then it should be possibe.

 

Don't for a language code into the URL just because the page itself is in a different language. 

4 Replies
Alicia-AXXAIR
Member

I totally agree !! We want to create our website in Korean and they normally use "co.kr"... Hubspot is offering "ko-kr". I am afraid users might not find us this way.

BBrinkman
Member | Platinum Partner

I'm trying to use Content Staging for a Multi-language site.  It would work great if not for this hardcoded language slug issue.  Here is the scenario I'm running into.

Working: If we have a Spanish page called http://mysite.com/es/test ; this page will Stage and Publish perfectly.

Not Working: If we have an English page called 
http://mysite.com/test ; this page will Stage, but will not Publish correctly. When you go to the Publish step there is a discrepancy in the URL. Staging forces the URL to change to http://mysite.com/en-us/test  and will not publish the staged page to http://mysite.com/test 

DanielRamirez
Member

Yeeees! We have the same problem! Would love to have a ".com/br" website for our Brazilian public, but our only options are ".com/pt" for Portuguese, or ".com/pt-br", very clumpsy 😐!
Pleeease add this feature! The option to select the way you want your language slug to display, and even not display at all? Would be great.

finn
Top Contributor

Three years later this is still hardcoded to these clumsy and non-friendly URL slugs.

 

Speaking with Hubspot support today though they told me that "Our development team is constantly monitoring this forum to improve the tool as much as possible.", which sounded like a joke. It certainly doesn't fit very well with that so many issues on these forums are open after 3, 4, 5 years...