AguaClara / aide_design_specs

MIT License
0 stars 2 forks source link

BUG: Table of Contents appears in Spanish regardless of language selected #51

Closed fletchapin closed 3 years ago

fletchapin commented 3 years ago

Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.

Description

Still need to verify if this is an existing bug or used to work and just broke, but the index of the Sphinx build isn't getting translated. All other pages appear in the correct language, but the table of contents (ToC) are always in Spanish

Expected Behavior

The language of the ToC should be the same as the rest of the document (whatever the user selected in the dropdown)

Reproduction

From the master branch, run python manage.py runserver. Navigate to the website (127.0.0.1:8000) and select an English language document using this URL: https://cad.onshape.com/documents/5333641b7d4a50ff8c28cd56/w/072d4d899d5d5e4d3a69afbd/e/299e5364fbc39e64dab2ca67

You should see that most of the document is in English but the ToC is still in Spanish.

Environment

Environment is the standard created by pip install -r requirements.txt

fletchapin commented 3 years ago

Oddly enough this works in the Heroku deployment from December... https://enigmatic-inlet-36713.herokuapp.com/

fletchapin commented 3 years ago

But when I ran the master branch from that time locally it didn't work. Very strange behavior