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 (cherry picked from commit 5596ae17ce3610ebb23f7709112fdcaa314efc28) Signed-off-by: Andras Timar <andras.timar@collabora.com>
Description
Copy of Nextcloud richdocuments app, but with modifications so all traffic goes over clearnet/CJDNS/Tor/I2P/whatever instead of having a single default hostname.
Languages
JavaScript
71.5%
PHP
24.4%
CSS
3.7%
Makefile
0.4%