Internationalize csv upload #1571
Internationalize csv upload #1571skhaterina wants to merge 1 commit intoOpenEnergyDashboard:developmentfrom
Conversation
|
@skhaterina Thank you for another contribution. This PR is showing 65 changed files. When I looked quickly it seems likely many are not related to the issue you were addressing. There are also files with merge conflicts. A number of files seem associated with the OED work for time-varying conversions that is not yet part of the development branch. Is there any chance this work includes those changes? Please let me know if I can help, answer any questions or you have information to help me understand what I am seeing. |
- Created server-side translation infrastructure (translate.js, data.js) - Added translations for English, French, and Spanish (50+ message keys) - Modified CSV upload pipeline to pass language preference from client to server - Fixed missing language parameter in loadCsvInput.js - All CSV upload success/error/warning messages now display in user's selected language - Tested successfully in all three languages
511d737 to
d0f86f6
Compare
|
@huss Hi huss, thanks for catching that. I've cleaned up the branch; it was including unrelated commits from another feature branch. The pr now contains only the internationalization change. It looks like I forgot to include a licensing header, which I will commit soon.I think is causing that failing check. |
@skhaterina
Description
This PR fixes the internationalization bug where CSV upload messages (success, error, warning) were always displayed in English regardless of the user's language preference. Now all messages display correctly in English, French, and Spanish.
Changes Made:
Testing:
Fixes #703
Type of change
Checklist
Limitations
n/a - feature is complete and working as expected. Technical debug instructions remain in English.