Asian URLs or English bullets on web pages

Here's the tricky one:

I work on a website where most of the content is in Japanese.

But consider this URL:

http://www.stackoverflow.com/ 質問 / 日本語 の URL は ど う す る

Most URL parsers, including stackoverflow, do not know where to distinguish between URLs containing Japanese. Not good.

I have not tested other browsers yet, but Google Chrome will display Japanese URLs with a Japanese URL extension - and when you copy the URL, it URL encodes it:

http://www.stackoverflow.com/%E8%B3%AA%E5%95%8F/%E6%97%A5%E6%9C%AC%E8%AA%9E%E3%81%AEURL%E3% 81% AF% E3% 81% A9% E3% 81% 86% E3% 81% 99% E3% 82% 8B

This is the right thing, but it is not exactly the friendliest. So, I thought that at content providers just enter short English slugs, for example:

http://www.stackoverflow.com/questions/what-to-do-with-japanese-urls

Tall. But there are two problems with this:

  • Most people who provide content speak English, but they speak more English than English. So they can write something like "what-do-to-with-japenese-ulrs".
  • Google Japan may not be interested in the English URL, as it can be in Japanese.

Any thoughts on better action ?: D

+3
source share
3 answers

-, -, . amazon.co.jp , , . . http://fujifilm.jp/ .

, , , , . , .

, , , stackoverflow, , URL- .

+3

, HTTP . URL- . unicode % encoding, , URL .

0

Using transliteration romaji?

http://www.stackoverflow.com/questionu/nihonnoURLwadousuru: D

0
source

Source: https://habr.com/ru/post/1757403/


All Articles