Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Maps available locales for countries to the doubled languages.

damenchoe09ea36055e3
diff --git a/debian/rules b/debian/rules
index 748296da78..8ef67c35be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,8 +17,15 @@ override_dh_install: $(LANGUAGES)
dh_install -X/config.js -X/package.json
$(LANGUAGES):
+ LOCALE=$$(echo $@ | cut -c1-2) ; \
if [ -f $(COUNTRIES_DIR)/[email protected] ] ; \
then \
dh_install -pjitsi-meet-web $(COUNTRIES_DIR)/[email protected] usr/share/jitsi-meet/lang/; \
mv debian/jitsi-meet-web/usr/share/jitsi-meet/lang/[email protected] debian/jitsi-meet-web/usr/share/jitsi-meet/lang/[email protected]; \
+ else \
+ if [ -f $(COUNTRIES_DIR)/$$LOCALE.json ] ; \
+ then \
+ dh_install -pjitsi-meet-web $(COUNTRIES_DIR)/$$LOCALE.json usr/share/jitsi-meet/lang/; \
+ mv debian/jitsi-meet-web/usr/share/jitsi-meet/lang/$$LOCALE.json debian/jitsi-meet-web/usr/share/jitsi-meet/lang/[email protected]; \
+ fi; \
fi;