loleaflet expect a BCP47 language tag syntax while OC.getLocale returns a lanugage tag where subtags are separated by '_' instead of '-' (BCP47). It seems safe to just replace '_' with '-' before feeding it to loleaflet
loleaflet expect a BCP47 language tag syntax while OC.getLocale returns a lanugage tag where subtags are separated by '_' instead of '-' (BCP47). It seems safe to just replace '_' with '-' before feeding it to loleaflet