title: How can I localize an asp-action using Localizer
body: <p>I am building a webstie in multiple languages and would like the <code>asp-action</code> to be customised depending on the language. The idea is that the URL in the English version is something like <code>/en/feedback</code> whilst in German it should be <code>/de/gaestestimmen</code>.</p>
  
  <p>I have tried the following:</p>
  
  <pre><code>&lt;a asp-controller="Home" 
     asp-action="@Localizer["navKontakt"]" 
     asp-route-lang="@CultureInfo.CurrentCulture.TwoLetterISOLanguageName"&gt;
       @Localizer["navFeedback"]
  &lt;/a&gt;
  </code></pre>
  
  <p>The Localizer returns the correct text in the second instance, but not for the <code>asp-action</code> - there it returns:</p>
  
  <p>"<code>Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString</code>" instead of the expected string. </p>
  
  <p>If I just enter <code>asp-action="Feedback"</code>it works fine.</p>
  
  <p>Anyone any idea how I can make this work?</p>