public function getRouter() {
        $routesIni = $this->_getRoutesConfig();
        $this->setOptions($routesIni->toArray());
        $options = $this->getOptions();

        if ($this->_localeIsEnabled()) {
            $bootstrap = $this->getBootstrap();

            if (!$this->_locale) {
                $bootstrap->bootstrap('Locale');
                $this->_locale = $bootstrap->getContainer()->locale;
            }

            $defaultLocale = array_keys($this->_locale->getDefault());
            $defaultLocale = $defaultLocale[0];

            $locales = $this->_getPossibleLocales();
            $routes = $options['routes'];
            $localizedRoutes = Garp_I18n::getLocalizedRoutes($routes, $locales);
            $options['routes'] = array_merge($routes, $localizedRoutes);
            $this->setOptions($options);
        }

        $router = parent::getRouter();
        $router->addDefaultRoutes();
        return $router;
    }