Closed xiomara0 closed 5 months ago
I think we need to update the json to contain the translations, as other pages do not have an additional JavaScript function implemented in order to handle the language switch
Made the changes based on our conversation @sumslong!
now, a new issue popped up where I can't change back to the English once I'm on the Spanish version on home page. I think it has something to do with the button being on the base.html vs on the home.html. I wanted to get your input before messing around with base.html. See video below:
already resolved in different PR
Describe your changes
This will close #100. I previously didn't understand Summer's original ask, which was .... when a users clicks login> clicks spanish --> the user is re-directed back to home page. Instead the user should stay on login page but the page should be translated w.o/redirecting.
What i did:
See video to see how it works.
https://github.com/uchicago-capp-30320/new-arrivals-chi/assets/114881443/acaf3f77-9267-42e1-959f-55a675bae06c
Non-obvious technical information
Checklist before requesting a review