
import {default as Core} from './Core/app';

angular.module(Core)
    .config(['$translateProvider', '$routeProvider', '$locationProvider', function($translateProvider, $routeProvider, $locationProvider) {
        $translateProvider.preferredLanguage('en');
        $translateProvider.translations('en', {
            monad: {
                data: 'Data',
                id: 'ID',
                title: 'Title',
                slug: 'Slug',
                keywords: 'Keywords',
                description: 'Description',
                login: {
                    username: 'Username',
                    password: 'Password'
                },
                logout: 'Logout'
            }
        });
        $locationProvider.html5Mode(false);
        $routeProvider.
            when('/', {
                controller: 'Home.Controller',
                controllerAs: 'home',
                templateUrl: 'monad/src/Home/view.html'
            }).
            when('/login/', {
                controller: 'Authentication.LoginController',
                controllerAs: 'login',
                templateUrl: 'monad/src/Authentication/login.html'
            });
    }]);

export default Core;


@@ -703,24 +703,495 @@
         %7D);%0A
+        $translateProvider.translations('nl', %7B%0A            monad: %7B%0A                data: 'Data',%0A                id: 'ID',%0A                title: 'Titel',%0A                slug: 'Slug',%0A                keywords: 'Steekwoorden',%0A                description: 'Omschrijving',%0A                login: %7B%0A                    username: 'Gebruikersnaam',%0A                    password: 'Wachtwoord'%0A                %7D,%0A                logout: 'Uitloggen'%0A            %7D%0A        %7D);%0A
         $loc
@@ -1265,16 +1265,26 @@
  when('/
+:language/
 ', %7B%0A   
@@ -1456,16 +1456,26 @@
  when('/
+:language/
 login/',

add language and dutch