readthedocs / readthedocs.org

The source code that powers readthedocs.org
https://readthedocs.org/
MIT License
8k stars 3.58k forks source link

Translations project non accessible #1058

Closed marmotz closed 9 years ago

marmotz commented 9 years ago

I have configured a main project (atoum: http://atoum.readthedocs.org) in french and a translations project (atoum-en: http://atoum-en.readthedocs.org) in english.

By accessing each projects by its own url, all is working:

But if I want to use the language selector, I have only the french version http://atoum.readthedocs.org/en/latest/ -> french

What have I done wrong?

agjohnson commented 9 years ago

This looks to be set up correctly, there may be a misbehavior in how we are handling the translation.

agjohnson commented 9 years ago

This was indeed a bug caused by the main project language not being english, there was some hacky code to ensure we always have '/en/latest' on urls. Just deployed a fix, and looks like your docs are linked okay now. Thanks for the report :)

marmotz commented 9 years ago

Thanks !!!!

All is working now :)