CMS Development

ajinpqe
Membre

Cange language switcher label

Résolue

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 Solution acceptée
piersg
Solution
Conseiller clé

Cange language switcher label

Résolue

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.

Voir la solution dans l'envoi d'origine

3 Réponses
piersg
Solution
Conseiller clé

Cange language switcher label

Résolue

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
Gestionnaire de communauté
Gestionnaire de communauté

Cange language switcher label

Résolue

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 Votes
Joachim_Koch
Participant | Partenaire solutions Platinum
Participant | Partenaire solutions Platinum

Cange language switcher label

Résolue

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 Votes