Closed sugar-cat7 closed 1 month ago
The idea is to prioritize as follows:
Locale from the cookie Locale from the path Default locale
@sugar-cat7
The idea is to prioritize as follows:
Locale from the cookie Locale from the path Default locale
Sorry I just noticed you seemed to have wanted the cookie to have higher priority than the path.
Was the implementation in #540 alright?
I gave the path higher priority than the cookie since I thought it would be annoying if the user manually typed /en
in the URL but was redirected to /ja
since that was the cookie value they had stored.
@sruenwg
I gave the path higher priority than the cookie since I thought it would be annoying if the user manually typed /en in the URL but was redirected to /ja since that was the cookie value they had stored.
I completely agree with you, so I think the current implementation is better! Thank you so much π
Language Selector UI Implementation:
Language-Specific Display for /schedule/all:
/schedule/all
endpoint, the page should be displayed in the language corresponding to the selected locale. The application should detect the chosen locale and render the page accordingly.