# Problem with lang="en"

**URL:** <https://community.hubspot.com/t/problem-with-lang-en/10076>\
**Category:** Blog, Website & Page Publishing\
**Created:** [September 5, 2018, 2:11pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076 "2018-09-05T14:11:49Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickbyrd](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rickbyrd/32/52876_2.png) [@rickbyrd](https://community.hubspot.com/u/rickbyrd)\
**Post date:** [September 5, 2018, 2:11pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/1 "2018-09-05T14:11:49Z")

</div>

The footer of our website template has links to several of our top level pages. When hovering over them there is now an additional ?hsLang=en to the end of the domain. I know what this represents. I have 2 concerns. First, I do not know when this happened or how it happened. Second, the link to our blog page shows ?hsLang=en in the domain url, where as, the other links are properly directed to only show the domain url like they are supposed.

![Capture.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/a/9a67e96b6724ad1457c9dc1a7a85f04d6a86607f.png)

I do not know how to make these changes in the templates. I have been instructed to not make changes to the templates. I would like to present this to the person that can make the changes with a proper explanation.

Any help is appreciated. Let me know if my explanattion does not make sense.

Rick

---

<div class="post-metadata">

**Author:** ![Jenny](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenny/32/24_2.png) [@Jenny](https://community.hubspot.com/u/Jenny)\
**Post date:** [September 10, 2018, 8:49pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/2 "2018-09-10T20:49:48Z")

</div>

Hi @rickbyrd,

The text at the end of the links is related to your “enable language specific redirects” setting which can be found under settings\>domains and urls\>language settings.

To remove the ?hsLang=en you will have to turn off the “Enable Language Specific Redirects”

Thank you,  
Jenny

---

<div class="post-metadata">

**Author:** ![samuellavoie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/samuellavoie/32/32108_2.png) [@samuellavoie](https://community.hubspot.com/u/samuellavoie)\
**Post date:** [October 24, 2018, 7:34pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/3 "2018-10-24T19:34:54Z")

</div>

Hi Jenny,

Beside this, what are the impacts of turning this “enable language-specific redirects” feature OFF? For a multilingual website.

thanks!

---

<div class="post-metadata">

**Author:** ![Jenny](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenny/32/24_2.png) [@Jenny](https://community.hubspot.com/u/Jenny)\
**Post date:** [October 25, 2018, 5:01pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/4 "2018-10-25T17:01:56Z")

</div>

HI @samuellavoie,

Turning the feature off would remove the ability to have multiple versions of one page in different languages. The functionalities outlined [here](https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-to-manage-multi-language-content-with-hubspots-cos) would be those impacted.

---

<div class="post-metadata">

**Author:** ![JohnS63](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/johns63/32/84489_2.png) [@JohnS63](https://community.hubspot.com/u/JohnS63)\
**Post date:** [October 14, 2019, 12:16pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/5 "2019-10-14T12:16:02Z")

</div>

Hi [@jennysowyrda](https://community.hubspot.com/t5/user/viewprofilepage/user-id/3685), how does this work? Is it based on browser language settings or something else?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jenny](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenny/32/24_2.png) [@Jenny](https://community.hubspot.com/u/Jenny)\
**Post date:** [October 15, 2019, 7:21pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/6 "2019-10-15T19:21:13Z")

</div>

Hi @JohnS63,

For a full explanation of how the multi language content works, I wanted to share[this resource.](https://knowledge.hubspot.com/cos-general/how-to-manage-multi-language-content-with-hubspots-cos)

Thank you,  
Jenny

---

<div class="post-metadata">

**Author:** ![SteveG](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/steveg/32/30597_2.png) [@SteveG](https://community.hubspot.com/u/SteveG)\
**Post date:** [August 4, 2021, 9:20pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/7 "2021-08-04T21:20:29Z")

</div>

Hi [@jennysowyrda](https://community.hubspot.com/t5/user/viewprofilepage/user-id/3685)

I don’t understand the purpose of ?hslang=en being added to our URLs. We’ve been managing a multi-language site for several years now, and most of our pages are part of multi-language groups, as HS intended. But if each page is set to include its own language code in URL (e.g. /fr/, /es/, etc.) then why the need for an hslang URL parameter?

Up until recently, it was merely an annoyance and somewhat confusing that our links and URLs were changing to include ?hslang, but the links always worked as intended, and our own language picker would always switch to the proper language version of our site.

However, we recently created a new multi-language group of pages, and added links at the top of each page to the other languages. And for the first time, it didn’t work. Even though the href attribute was “[https://www.domain.com/fr/pagename](https://www.domain.com/fr/pagename)”, every time we clicked on it, it would add ?hslang=en and always go to the English page instead of the French page. We couldn’t figure it out, and in the end, at the suggestion of HS Support, we went into our Domain & URLs \> Language Settings and unchecked “Enable Language Specific Redirects” which fixed the problem. But are we now losing out on other benefits?

---

<div class="post-metadata">

**Author:** ![WObloza](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wobloza/32/53612_2.png) [@WObloza](https://community.hubspot.com/u/WObloza)\
**Post date:** [September 3, 2021, 7:25am UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/8 "2021-09-03T07:25:06Z")

</div>

Hello, did you solve this issue mayby? We have similar problem with one subpage- main menu on this page works correctly, but submenu and other links add _?hsLang_ to URL 😕

---

<div class="post-metadata">

**Author:** ![dannio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dannio/32/95715_2.png) [@dannio](https://community.hubspot.com/u/dannio)\
**Post date:** [February 3, 2023, 2:49am UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/9 "2023-02-03T02:49:13Z")

</div>

I know I’m VERY late to the party here, but you can just add this class:

`hs-skip-lang-url-rewrite`

on a wrapper containing the links and it won’t add the language param at the end of the urls.

---

<div class="post-metadata">

**Author:** ![EIbraimi](https://avatars.discourse-cdn.com/v4/letter/e/90ced4/32.png) [@EIbraimi](https://community.hubspot.com/u/EIbraimi)\
**Post date:** [October 27, 2023, 12:40pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/10 "2023-10-27T12:40:49Z")

</div>

I was also having some issues with redirects that are being created by HubSpot for my pages with the slug ?hsLang=en and what I cannot understand is why this is happening at first because I don’t have the language specific redirects enabled. Do you think adding this hs-skip-lang-url-rewrite on top of my html or body can help me ?

---

<div class="post-metadata">

**Author:** ![JimB\_Huble](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jimb_huble/32/30311_2.png) [@JimB\_Huble](https://community.hubspot.com/u/JimB_Huble)\
**Post date:** [November 24, 2023, 4:13pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/11 "2023-11-24T16:13:33Z")

</div>

Just stumbled on this thread. I suspect the reason you were being redirected to the /en/ page each time you tested this is because you were located in an English speaking country? If you had been in France, you should have seen the FR version.

The purpose of the language redirects tool is to serve content for users based on the region they are in/language they use, if a variant is available. HubSpot is looking at their IP and enforcing which content they see.

Pros: let’s say you have service pages for en/fr/de. But you only have an /en/ blog. With the redirects tool switched on, an internal link from the blog to an /en/ service page will automatically take a user in France to their region’s /fr/ variant. Without this tool switched on, you may find a lot of traffic only seeing your primary language content because they have to manually use the language switcher to locate it, and not everyone does that.

Con: You’re anticipating the user’s need based on their IP and enforcing their experience. The user in France may actually have wanted to view the /en/ content. With this feature switched on they would experience the same situation as your test, and this may be a poor user experience and lead to bounces.

Make sure your language switcher is easy to spot so users can manually correct if they end up on the wrong page.

---

<div class="post-metadata">

**Author:** ![Joachim\_Koch](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/joachim_koch/32/51268_2.png) [@Joachim\_Koch](https://community.hubspot.com/u/Joachim_Koch)\
**Post date:** [January 16, 2024, 11:26am UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/12 "2024-01-16T11:26:48Z")

</div>

This seems to be in conflict with this [kb-article](https://knowledge.hubspot.com/domains-and-urls/edit-a-domain-s-language-setting):

_“HubSpot does not use geoIP or a browser’s set language to determine which variation of a page should render. For example, if the user’s browser is set to french, this does not mean that your pages will automatically display in french. However, if a visitor is looking at a page in french, then clicks on a link to another page that has a translated french version, the visitor will be routed to the translated page.”_

---

<div class="post-metadata">

**Author:** ![JimB\_Huble](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jimb_huble/32/30311_2.png) [@JimB\_Huble](https://community.hubspot.com/u/JimB_Huble)\
**Post date:** [January 16, 2024, 11:44am UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/13 "2024-01-16T11:44:04Z")

</div>

Hmmm, according to that knowledge base article, the tool doesn’t work in the way as had been explained to me when it first came out. Thanks for sharing. Please disregard my explanation above. Apologies for any confusion caused.

---

<div class="post-metadata">

**Author:** ![Joachim\_Koch](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/joachim_koch/32/51268_2.png) [@Joachim\_Koch](https://community.hubspot.com/u/Joachim_Koch)\
**Post date:** [January 30, 2024, 7:04pm UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/14 "2024-01-30T19:04:32Z")

</div>

The use case of isn’t totally clear or easy to understand, at least initially. It doesn’t solve for geography or browser-specific settings.

It solves when a “same-language” (as the originating page) page is available at the destination, example cases:  
- a year ago, you’ve linked from a French blog post to your English home page (shouldn’t do that as it is a poor UX). Now, you translate your home page into French but forget to relink the blog post, hslang directs the user from the blog post to the French home page. (Likely) Good for the user, not great for SEO.  
- You dynamically have pages translated and want to connect to the matching destination page, etc.  
Not being a fan of dynamic redirects for SEO and load speed reasons, our recommendation would be to build up new language pages as you build up a new website, connect to same-language pages only. That means you start slower but with a better user experience.  
Joachim

---

<div class="post-metadata">

**Author:** ![06723](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/06723/32/78731_2.png) [@06723](https://community.hubspot.com/u/06723)\
**Post date:** [September 8, 2021, 10:39am UTC](https://community.hubspot.com/t/problem-with-lang-en/10076/15 "2021-09-08T10:39:51Z")

</div>

[@jennysowyrda](https://community.hubspot.com/t5/user/viewprofilepage/user-id/3685) What are the drawbacks of disabling the “Enable Language Redirects”
