angular.module('proxtop').controller('MainController', ['$scope', 'ipc', '$state', 'notification', '$mdToast', '$translate', function($scope, ipc, $state, notification, $mdToast, $translate) {
    ipc.on('check-login', function(result) {
        if(result) {
            ipc.send('watchlist-update');
            $state.go('profile');
        } else {
            $state.go('login');
        }
    });

    ipc.on('error', function(severity, message) {
        var severityTranslation = "ERROR_SEVERITY." + severity;
        var messageTranslation = "ERROR." + message;
        severity = $translate([severityTranslation, messageTranslation]).then(function(translations) {
            severity = translations[severityTranslation];
            message = translations[messageTranslation];
            $mdToast.show($mdToast.simple().content(severity + ':' + message));
        });
    });

    var displayNotification = function(type) {
        return function(update) {
            $translate('WATCHLIST.NEW_' + type.toUpperCase(), { episode: update.episode, name: update.name}).then(function(translations) {
                notification.displayNotification('Proxtop', translations, 'assets/proxer_logo_64.png', function() {
                    if(type == 'anime') {
                        open.openAnime(update.id, update.episode, update.sub);
                    } else {
                        open.openManga(update.id, update.episode, update.sub);
                    }
                });
            });
        };
    };

    ipc.on('new-anime-ep', displayNotification('anime'));
    ipc.on('new-manga-ep', displayNotification('manga'));

    ipc.send('check-login');
}]);

@@ -117,16 +117,28 @@
 nslate',
+ %22settings%22,
  functio
@@ -194,16 +194,26 @@
 ranslate
+, settings
 ) %7B%0A    
@@ -1545,16 +1545,71 @@
     %7D;%0A%0A
+    $translate.use(settings.get('general').language);%0A%0A
     ipc.

Apply language on startup. Closes #23.