Open ngaruko opened 3 years ago
@ngaruko The primary problem here is that the message is shown with ERROR verbosity instead of WARN in medic-conf, making unclear for the user at first sight whether the process was aborted and the language was uploaded or not, which is not the case: the language is uploaded and the process not aborted.
What we need to do is:
medic-conf
(not a change in this library).ceb
and hil
as possible non ISO languages to the exception list if the new ISO library doesn't include them (tl
is currently supported by the ISO library used).
ATM we are using this iso-639-1 library to check for language codes. Recently, we have added a few languages that are not in that standards:
ceb
,hil
and probablytl
, for ICM Philippines. So, when one runs theupload-custom-languages
command inmedic-conf
CLI, an error is thrown I wonder if there is no package for ISO-639-2. Maybe iso-639-2-english - that way, we will have covered quite a good range of languages, just in case.