CMS Development

ajinpqe
Member

Cange language switcher label

SOLVE

Need change the Chinese language into 体中文 in the language switcher, Let anyone know? I have attached the screenshot. I'm using @hubspot/language_switcher

 

blog.png

1 Accepted solution
piersg
Solution
Key Advisor

Cange language switcher label

SOLVE

Hmm this looks like a Hubspot issue. If you're using the default switcher with the "localized" display name option selected, which it looks like you are, then Hubspot isn't localsing "Chinese" for some reason. A quick fix would be to do it with JS.

View solution in original post

3 Replies 3
piersg
Solution
Key Advisor

Cange language switcher label

SOLVE

Hmm this looks like a Hubspot issue. If you're using the default switcher with the "localized" display name option selected, which it looks like you are, then Hubspot isn't localsing "Chinese" for some reason. A quick fix would be to do it with JS.

Jaycee_Lewis
Community Manager
Community Manager

Cange language switcher label

SOLVE

Hi, @ajinpqe 👋 Thanks for reaching out. Hey, @piersg @Stephanie-OG, do you have any experience with what @ajinpqe is trying to accomplish?

 

Thank you! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
Joachim_Koch
Participant | Platinum Partner
Participant | Platinum Partner

Cange language switcher label

SOLVE

This clearly appears to be a bug.  The localization feature in the language switcher simply doesn't localize "Chinese", it works fine with "Chinese-Simplified" or other Chinese variations.  While piersg's solution is a "solution", the better solution would appear to be to fix the issue at the root.  

Joachim Koch
0 Upvotes