Missing support for en_US.UTF-8 locale despite defaulting to it
Brought to you by:
steven_shiau
Function load_lang_set() in scripts/sbin/drbl-functions defaults to en_US.UTF-8 locale. However, directory lang/bash provides en_US only. As a result, when run with LC_MESSAGES set to en_US.UTF-8 or unspecified, this function stops, saying “Not such language option!!!”. That also happens even when the wrapping utility, such as ocs-onthefly, is run with -l en_US option — because that parameter is not passed to child scripts.
Proposed solutions:
See the attached patch file regarding the second option.
Thanks for your patch. It's applied in the git repository. We will use it in the next release.
Steven