internal string TranslateRoutePrefix(string cultureName, RouteSpecification routeSpec)
        {
            var key = routeSpec.RoutePrefixUrlTranslationKey
                      ?? _keyGenerator.RoutePrefixUrl(routeSpec.AreaName, routeSpec.ControllerName);

            return(GetTranslation(key, cultureName));
        }
        /// <summary>
        /// Add translations for the route prefix url applied on this controller.
        /// </summary>
        /// <param name="cultureTranslationPairs">Dictionary using cultureName as a key and a translation as the value</param>
        public ControllerTranslationBuilder <TController> RoutePrefixUrl(Dictionary <string, string> cultureTranslationPairs)
        {
            var key = _keyGenerator.RoutePrefixUrl <TController>();

            _builder.ForKey(key, cultureTranslationPairs);

            return(this);
        }