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
694 stars 132 forks source link

Change the target of the "Need some help?" wiki links to match the language interface of Tatoeba #2177

Closed agrodet closed 3 weeks ago

agrodet commented 4 years ago

Problem My interface on Tatoeba is in French, the footer says "Need help ?" in French, the links are in French, but their targets are set to the English version of the wiki articles, although French versions exist.

Expected behavior When the corresponding articles have a translation in the current interface language, set it as a target of the link. If not, keep the English.

jiru commented 4 years ago

This problem also applies to a number of links to the wiki, like the "no audio available link".

jiru commented 4 years ago

I discovered something interesting today. Tatowiki has some redirection mechanism based on the browser language (Accept-language HTTP header), for example:

However:

So we could fix Tatowiki to make it redirect to the correct page (and change http with https), or rename all the page slugs.

agrodet commented 4 years ago

I think that in general it would be better to have the same slugs for all languages. Above all, it will avoid contributors choosing the URL. We could then remove the "URL name of this article's translation" field.

jiru commented 4 years ago

I think that in general it would be better to have the same slugs for all languages.

While I agree it would be easier to implement, it’s not very inclusive to assign an English slug for all languages.

We could then remove the "URL name of this article's translation" field.

We could also autogenerate the slug from the initial article title.

jiru commented 3 weeks ago

This issue was fixed long ago, in #2628.