diff --git a/Makefile b/Makefile
index 6fc43dbc7e..d828ccd8ba 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ dist: locale uglify statici18n collectstatic
 
 locale:
 	@echo "--> Compile locales"
-	django-admin.py compilemessages && cd seahub/two_factor && django-admin.py compilemessages
+	django-admin.py compilemessages
 	@echo ""
 
 uglify:
diff --git a/i18n.sh b/i18n.sh
index 1bc2d708e1..7bd46f70c1 100755
--- a/i18n.sh
+++ b/i18n.sh
@@ -12,7 +12,7 @@ function usage () {
     echo
 }
 
-apps="seahub/two_factor seahub/trusted_ip"
+apps="seahub/trusted_ip"
 function is_valid_app() {
     if [[ $1 == "seahub" ]]; then
         return 0;