Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display error messages in arabic when using arabic mode #352

Open
raquelalegre opened this issue Feb 5, 2019 · 1 comment
Open

Display error messages in arabic when using arabic mode #352

raquelalegre opened this issue Feb 5, 2019 · 1 comment
Assignees
Labels

Comments

@raquelalegre
Copy link
Contributor

No description provided.

@raquelalegre raquelalegre self-assigned this Feb 5, 2019
@raquelalegre raquelalegre added this to the Arabic Nammu release milestone Feb 5, 2019
@raquelalegre
Copy link
Contributor Author

I sent an email to ask Steve how's best to proceed with this. Ideally, the server request would contain a flag for Arabic or English, and return the log in the required language. However there's not much active development in the server, and it might be we have to work around it by translating the user error messages within Nammu when it's in Arabic mode.

One possible approach is to have the list of all possible error messages, given that they have been stable for years as @EleanorRobson mentioned at a previous meeting, and just maintain a map that takes the output log from the server response, and translates looking for those messages in a map.

I have observed some of the messages I'm most familiar with are displayed in warning calls, so I grep'd for all the warning calls and got the list of messages in a file at the end of this comment. It's a bit too long, so waiting to hear from Steve on what he thinks is best. It's possible we don't need the full list, since some messages might not be for users but for debugging purposes only.

Also, Eleanor will find a volunteer user for us to get ideas on how's expected by user to see this messages.

oracc_server_errors.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants