You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
Need to decide how we can specify the language in the URL. (domain? subdir? language parameters?)
The best choice will be to use query parameters. Here's why.
A URL describe where a document is located; if a URL differs from another one, these documents that the URLs refer to are different.
Assume we have a project "foobar" and have two lanuguage English and Japanese. If we separate the project pages for each language by domain level, we'll get something like en.hackdays.example/foobar and ja.hackdays.example/foobar. Or, using subdirectories, we'll get 'hackdays.example/en/foobar' and hackdays.example/ja/foobar. These two approaches will distinguish the English page and the Japanese page.
In our app, however, every language version of one project has almost same content. We shouldn't split them into multiple pages by assigning to different URLs with domains or subdirectories. Instead, just based on the single page, we can tell the server which language the users want through query parameters,
Goal:
As a user, I want to keep the selected language so that I can read content in my preferred language.
Tasks:
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: