URL Design for Multilingual Web Services

Asked 1 years ago, Updated 1 years ago, 59 views

I'm thinking of making the website multilingual.
At that time, I noticed that there are different URL specification methods such as routing and subdomains of various sites.
I'm worried about what kind of URL I should use to make it multilingual.

Specifically, the following are the cases

  • Multilingualize with Routing

LINE
http://line.me/en-US/

Mercari
https://www.mercari.com/jp/

Cookpad
https://cookpad.com/us

  • Multilingualize with URL parameters

Pixive
https://www.pixiv.net/login.php?lang=ja

  • Multilingualize in subdomains

stack overflow
https://ja.stackoverflow.com/

  • In the first place, there are no URL parameters or routing, but it is multilingual

Niconico Video
http://www.nicovideo.jp/

There are many ways to multilingualize
Which method is the most appropriate and promising design method for multilingualism?
Also, why are there so many scattered methods?

url-routing

2022-09-29 22:37

1 Answers

To put it bluntly, the best method depends on the website's requirements.I will explain the advantages and disadvantages of each method, so please make a decision based on the requirements of your website.

The first is routing, but the benefits are well organized and multi-lingualized in a single application for high maintenance.The disadvantage is that if you don't plan to become multilingual and design the URL in advance, it will be troublesome to change it later.

Next, the URL parameter has the advantage of being able to support multilingualization without changing the URL/path of an existing website.The disadvantages can be avoided depending on the framework you are using, but logically, you will have to make sure that each page is multilingual.

While these two are often implementationally commutative, the interpretation of the URL also suggests that the former guarantees that the page is localized for the existing URL, while the latter cannot be guaranteed by the URL.

Finally, the advantage of the (sub) domain is that each language can operate and manage independently.The disadvantage is that as more languages are supported, management becomes more difficult.

For example, domain can easily accommodate large numbers of users or slow networks, but routing can be a high technical hurdle.In addition, the URL parameter will be extremely difficult.

The advantages of one method may be disadvantages of another, so consider it against your needs.


2022-09-29 22:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.