talawa-admin
talawa-admin copied to clipboard
Bug Report: When language preferences are switched, the warnings for invalid inputs are still showing in English
Describe the bug When the preferred language is not english, warnings (both in top right or below the log in credentials) are not showing in the preferred language. They remain in English.
To Reproduce Steps to reproduce the behavior:
- Set language on login page to any language except English
- Attempt to login with bad credentials
- Observe the warnings remaining in English
Expected behavior Once the preferred language is chosen, all the following must be in the preferred language on the admin and user portal pages:
- All notifications
- All warnings and errors
- All text
Screenshots
The following are provided as only one of many other examples of this issue.
Additional Details The location of language translation files is here: /talawa-admin/tree/develop/public/locales
Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359
Congratulations on making your first Issue! :confetti_ball: If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.
@Cioppolo14 Please assign me this Issue
@Cioppolo14 Please assign me this Issue
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.
I am currently working on this issue please don't unassigned me
Hi, Is the issue still perssit can I work on this issue pls
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.
Unassigning due to no activity or open PR
@Cioppolo14 Please assign me this issue
please assign this issue to me
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.
Unassigning, inactivity and no submitted PR
Please assign this issue to me.
I can work on this
We need to plan more on fixing this completely. Temporary fix is going to be a very bad practice by checking strings directly. We need either API to send error codes or send translated directly.
Discussion: https://thepalisadoes-dyb6419.slack.com/archives/C01RPC00K0D/p1713875221323299
Reference: https://github.com/PalisadoesFoundation/talawa-api/issues/2383