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
Mercari
https://www.mercari.com/jp/
Cookpad
https://cookpad.com/us
Pixive
https://www.pixiv.net/login.php?lang=ja
stack overflow
https://ja.stackoverflow.com/
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?
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.
© 2024 OneMinuteCode. All rights reserved.