Hi folks: I was searching the Wiki on what I had to install in addition to the standard install but could not locate. The patient portal allows a language selection but anything other than English results in an error. Man… I’m trying to learn php but my head gets twisted whenever I try to look at OpemEMR :). lang_language table looks good…'but not sure if I need to install something else?
If you use an official new install downloaded from Open-EMR.org the Chinese simplified is included and only have to be activated in Administration Global. If you want Chinese as default language, Click the correct choice just above the Optional Languages.
I really don’t know if this also works for the Off Site Portal or the On site Portal.
If this does not work you might have to include a lot of xl(… coding to get automatic translations from the OpenEMR software. Look in the WIKI pages for translation advise.
Yes. thanks. IN globals, the Default Language is English and the next option (All Languages Allowed) is checked, with the next drop-down, showing Chinese as one of the allowed options. When a patient logs into the patient portal, the option is given to select Chinese (or other languages) but selecting anything but English causes an error.
What portal for patients are you talking about? USER portal for doctors, nurses, physicians, is compatible with most languages, but depends on the total of translated constants and definitions?
Or are you trying the Patient portal for patients info?For OpenEMR there are three kind of Patient portals (probably even more). Off-site portal, Local portal, CMS portal.
All have the patient specific hurdles to take. As far as I remember the CMS portal does not have Chinese for the patient, unless the WordPress has an inbuilt option to have the Chinese language activated.
FireFox and Explorer need a tweak somewhere in settings to accept foreign languages with different characters, needs to be activated for the different non-latin characters.
Intermittent issues are so much harder to root-cause! Given the responses above, I tried Firefox (I had been trying with Chrome on a x64 Windows 7 machine) and got a different error.
On firefox, I no longer get an error (image on the top-right of the screen that said “Ooops, something went wrong”)… and I am now able to get SOME languages such as spanish but choosing Chinese (simplified or traditional) results in a bunch of question-marks (?) instead of text.
Now I went back to Chrome… surprised there was such a big difference between the two browsers and Chrome no longer gave me the error (Opps image on the top right) but now gives me the same question-marks.
It is trying to translate and just gives up?? The OpenEMR demo site seems to work fine!
so maybe I’m missing some files? I have the latest update
As Brady mentioned, your Browser might give the headache. Somewhere about a year ago there was explained how to include different Characters to show correct text in the Browser, in the OpenEMR foums.
Or it could even be a file somewhere in your computer software. I can’t remember the exact advise, it was the solution for my problems of unrecognized characters like Chinese. No more ??? for text that is different from Latin characters.
Start digging or wait, sometimes somebody else comes with the solution. Good luck.
For some reason, the lang_definitions was using LATIN instead of UTF8.
When I imported the same table from another server I also host OpenEMR on back into this one, it worked. I don’t understand how it could have configured to Latin in the first place but at least that fixed it.
Just documenting in case someone else has this same issue.