URL do not support Vietnamese Không hỗ trợ tiếng Việt

AI-generated summary

The discussion revolves around issues with URL formatting in Vietnamese. Initially, cuongnguyen reports that Vietnamese characters in a URL are not correctly formatted, resulting in an ugly link. gerhard explains that this is due to the default_locale being set to English and suggests changing it to Vietnamese.

After changing the locale, cuongnguyen encounters another issue where the “Vote” button’s text changes to “Đã Bình Chọn” and no longer fits within the button. chicong.tc suggests adjusting the CSS to resolve this issue.

cuongnguyen then inquires about keeping the original English content while only changing the locale to Vietnam for URL-friendly purposes. However, gerhard states that this is not currently possible and suggests creating a feature request or changing the slug generation method site setting as an alternative.

The conversation concludes with kinhthienvuong inquiring about the status of the issue and Goo_Wis expressing gratitude.

If you click to this link: URL do not support Vietnamese Không hỗ trợ tiếng Việt
You can see that: for Vietnamese language “Không hỗ trợ tiếng Việt”, it should be “khong-ho-tro-tieng-viet”, but it changed to “khong-h-tr-ti-ng-vi-t”. It makes this link look ugly.
Please help me to fix it.

It doesn’t work on meta, because the default_locale is set to English. But it will work when you change the default_locale site setting to Vietnamese.

image

image

Thank you very much!
But when I change to Vietnamese Language, “Vote” changes to “Đã Bình Chọn”, so the button can not cover the word. How can I fix it? (Can we make the size of button bigger to cover all words?)

In my opinion, you just need to adjust the CSS and it should be fine. Could you please share the website so everyone can help?

Hi. Can we just change location to VietNam ( to make url friendly) but keep the rest? I want to use English ( the original)

Unfortunately that’s not possible at the moment. You could create a feature request in the Contribute > Feature category if you wish.

As an alternative you could change the value of the slug generation method site setting.

“encoded” would look like this:
image

Or you could disable the slug by setting it to “none”:
image

Dear brother @cuongnguyen uong, I was wondering if you have resolved this issue by now?

Thank you so much :heart: