Tatoeba / tatoeba2

Tatoeba is a platform whose purpose is to create a collaborative and open dataset of sentences and their translations.
https://tatoeba.org
GNU Affero General Public License v3.0
679 stars 131 forks source link

In lists, ../show/LIST_NUMBER/und redirects to /und/und and /jpn redirects to /und/jpn #3046

Closed ckjpn closed 1 year ago

ckjpn commented 1 year ago

This is not a major bug, unless it is a symptom of something else, or causes other problems. It might be worth checking out why this is happening.

The URL we have to show all translations of a list that ended with "und" now redirects to "/und/und". THIS: https://tatoeba.org/en/sentences_lists/show/171243/und TO THIS: https://tatoeba.org/en/sentences_lists/show/171243/und/und

And this.... https://tatoeba.org/en/sentences_lists/show/171243/jpn ...now redirects to this.... https://tatoeba.org/en/sentences_lists/show/171243/und/jpn ... which doesn't seem to make much sense.

Yorwba commented 1 year ago

This is intentional, not a bug. A new parameter was added to the URL to allow filtering the list by language, and URLs missing that parameter redirect to the new URL with the language set to undefined.

ckjpn commented 1 year ago

It doesn't matter to me really since the old links still work,

However, it seems strange to have the "und" repeated. /und/und

I assume that perhaps "und" stands for "undetermined," though until now I just always thought it must be based on another language and meant "all."

So, I guess "/und/jpn" means "undetermined" and then "Japanese."

I wonder why this change was felt necessary.