-
Notifications
You must be signed in to change notification settings - Fork 21
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
No language refset for any locale listed in priority list #27
Comments
It's using java's idea of the default locale in order to choose which language reference set(s) to use in order to choose the preferred synonym to be stored in the cache that is the search index used for autocompletion. Arguably, it shouldn't fail like that but instead flag an error and point out you need to provide a locale to use upfront, or fallback to using "en-US". I have already committed some changes to permit explicit locale choice at the command-line. I will create a new release, if that helps - but in the meantime you could set the locale at the command line. The other option is that I include en-IN in the list of known locales and you tell me which language reference sets to use for India. Are there any specific for India, or do you use UK or US? I'd value your opinion. |
Yup. I figured that out after looking at the code. It works after I went into my system settings and changed my locale to en-US! Indian Medical Terminologies are based more around UK terms than US, an explicit option would be best. In the current version v0.8.0 can I pass the locale via a command-line flag or env variable? |
Try v0.8.1 676f3d8 - you can now specify --locale as an option for index creation to override your system default, and it will fallback to en-US which I think is a reasonable default. Also see
|
Works now |
Hey @wardle, I just updated to the latest version and I tried to import and index the SNOMED CT International Edition (SnomedCT_InternationalRF2_PRODUCTION_20210131T120000Z). However, I got this error:
I'm curious - how does Hermes know that the priority list is "en-IN"? I'm only importing the international version. Any idea on why this error happens?
The text was updated successfully, but these errors were encountered: