Hello:
I have a custom html helper as:
in razor view:
it's definition:
it's html output to Browser is either:
or
it basically a language toggle link to change interface language between english and french, by injecting \en-ca or \fr-ca to the route. {language}/{controller}/{action}/{id}
I don't know how to add this control to the menu. Please advise,
Thank you,
I have a custom html helper as:
in razor view:
@Html.LanguageToggleLink(null)public static MvcHtmlString LanguageToggleLink(this HtmlHelper helper, IDictionary<string, object> htmlAttributes){...}it's html output to Browser is either:
<a href="/projectname/fr-ca">français</a>or
<a href="/projectname/en-ca">english</a>it basically a language toggle link to change interface language between english and french, by injecting \en-ca or \fr-ca to the route. {language}/{controller}/{action}/{id}
I don't know how to add this control to the menu. Please advise,
Thank you,