Back to LanguageTool Homepage - Privacy - Imprint

Usability: language now stored


(Daniel Naber) #1

Small new usability feature: on languagetool.org, the language you use is now stored in a cookie and it's the default language when you visit next time. This currently only works on the homepage (https://languagetool.org), not yet on the sub pages (https://languagetool.org/de/ etc.)


(Daniel Naber) #2

It should now also work on sub pages like https://languagetool.org/de/


(Dominique PELLÉ) #3

@dnaber wrote:

It should now also work on sub pages like https://languagetool.org/de/

The cookie is useful if we don't specify a language in the URL, i.e. when the URL
is https://languagetool.org

But I don't think that we should set the language with a cookie when the URL
specifies the language. I find this very confusing. If I give a URL like
https://languagetool.org/de/ then I'd expect that the language is set to German.

Hmmm, but then there is no https://languagetool.org/en for English.
I don't think it's nice that English behaves differently than other languages.
It would be better if there was a page https://languagetool.org/en
which is in English, and the text to be checked is always English.
Only the page https://languagetool.org/ would remember the language
with a cookie, but it can default to English if there is no cookie.


(Daniel Naber) #4

For first-time visitors without a cookie, you still get German at https://languagetool.org/de/. I think there are quite some external links from the web to these sub pages, but people might still use https://languagetool.org/de/ to check English text, just because it's the link they clicked on first.

Having https://languagetool.org/en would be nice in any case, any help with creating it is welcome.