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
Describe the bug
For a given project there are both English and French text available for:
description
short description
detailed instructions
and the default language is chosen as English. Now when the user changes the default language to French from their settings section, project description and short description loads in French. However detailed instructions are still in English.
To Reproduce
Steps to reproduce the behavior:
Setup a private project
Fill in short description, description and detailed instructions in English and French
Save the project
Go to user settings and choose the default language as English
Now go to the private project page. Instructions, description and short description loads in English
Go to user settings and choose the default language as French
Now go to the private project page. Instructions loads in English, while description and short description loads in French
Expected behavior
When the project has instructions in a language that's default for the user, that should load by default instead on English instructions.
Screenshots
The text was updated successfully, but these errors were encountered:
The problem is with frontend the api (/api/v2/projects/1/queries/summary/) is being called with headers Accept-Language: en which is by default, the header should be like Accept-Language: fr while api is being called. It should be like in second image which is being called by project info page. @royallsilwallz
Describe the bug
For a given project there are both English and French text available for:
and the default language is chosen as English. Now when the user changes the default language to French from their settings section, project description and short description loads in French. However detailed instructions are still in English.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the project has instructions in a language that's default for the user, that should load by default instead on English instructions.
Screenshots
The text was updated successfully, but these errors were encountered: