You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
now when there is someone coming to the documentation of a project, it redirect to /l$project-main-language/version . I think this pattern can be easily improved by using browser language (cf https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html )
I think this feature could be configured to keep actual one or move to the new one. In any case, if redirecting to another language that the main project and that this redirection lead to a 404, I would try to see if the default one could exist. But this is extra feature.
thanks
The text was updated successfully, but these errors were encountered:
Hello,
now when there is someone coming to the documentation of a project, it redirect to /l$project-main-language/version . I think this pattern can be easily improved by using browser language (cf https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html )
I think the redirection is made on this code part in https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/core/resolver.py#L80
I read something about the way django interpret this code here https://docs.djangoproject.com/en/1.11/topics/i18n/
I think this feature could be configured to keep actual one or move to the new one. In any case, if redirecting to another language that the main project and that this redirection lead to a 404, I would try to see if the default one could exist. But this is extra feature.
thanks
The text was updated successfully, but these errors were encountered: