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

Bug when trying to load csv file with the French translation #7590

Closed
N-thony opened this issue Jul 5, 2022 · 4 comments · Fixed by #7591
Closed

Bug when trying to load csv file with the French translation #7590

N-thony opened this issue Jul 5, 2022 · 4 comments · Fixed by #7591
Assignees

Comments

@N-thony
Copy link
Collaborator

N-thony commented Jul 5, 2022

I'm able to load this data under the English translation but when I switch to French translation, I'm no longer able to load.
Here is the loading under English translation
image

this is what I get when I switch to French
image

this is the file kisii_pyreth_data.csv

@N-thony N-thony changed the title Bug when trying to load excel file with the French translation Bug when trying to load csv file with the French translation Jul 5, 2022
@N-thony
Copy link
Collaborator Author

N-thony commented Jul 5, 2022

I'm able to load this data under the English translation but when I switch to French translation, I'm no longer able to load. Here is the loading under English translation image

this is what I get when I switch to French image

this is the file kisii_pyreth_data.csv

@lloyddewit could we discuss this?

@N-thony
Copy link
Collaborator Author

N-thony commented Jul 5, 2022

@lloyddewit I did a quick investigation on this and I found that in the import function for csv/excel file we have a parameter called sep which takes value recognized in R from Separator input control i.e by default Automatic when you translate in French it becomes Automatique and this is not recognized in R. So, to fix I set ucrInputSeparatorCSV control in the database to DoNotTranslate, and to prevent such bug I suggest if we can set all the input controls, input text controls to DoNotTranslate. What do you think.

image

@lloyddewit
Copy link
Contributor

@N-thony Thank you for finding and documenting this bug.
I agree that setting the controls to DoNotTranslate seems the best solution.

to prevent such bug I suggest if we can set all the input controls, nud controls, input text controls to DoNotTranslate. What do you think?

Do you mean just the controls in this dialog?
If yes, then I agree. Basically any control that creates an enumeration parameter (e.g. Automatic) should be set as DoNotTranslate.

@N-thony
Copy link
Collaborator Author

N-thony commented Jul 6, 2022

@lloyddewit ideally it will be good setting the controls to any susceptible dialogues.

@N-thony N-thony self-assigned this Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants