Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDisable redirect to outdated translations #1828
Conversation
I'm not convinced yet that automatic disabling is a good thing. Besides that, I think "_plugins/translation_status.rb" is not the right place to define the "languages_json" tag, it should be separate. |
deivid-rodriguez
commented
Oct 4, 2018
What about remembering user's language choice on a cookie. Would that be acceptable? |
@deivid-rodriguez I wonder if we could show a banner to ask the user if this the language they want the first time they visit and store it in a cookie? If they change to another language from the footer maybe show them a bar at the top asking if they want to save this as their default language? The logic could be that if the cookie exists it overrides the auto-redirect. |
deivid-rodriguez
commented
Oct 4, 2018
Yeah, that would definitely work for me! |
Personally, I do not like handling cookies, I'd prefer keeping the site as simple as possible. |
deivid-rodriguez
commented
Oct 4, 2018
Do you have any other proposals to fix #1827, then? Of course, as a user I can change the language of my browser, or go to the footer and click on English every time I visit the site, or remember to type |
znz commentedSep 11, 2018
I think redirecting to outdated translations is not good.
And I do not want to maintain languages map manually.
So I think it should stop to redirect automatically.
Some languages are commented out in
LANGS_MAP
, because original LANGS does not include them.Magic number
about_6_months_ago
is to stop redirecting topt
which is not included in original LANGS and latest posts are 2017-12-14.ref #1827