ILocalizedTextService help
# help-with-umbraco
p
Hello! In a view file, i'm injecting the ILocalizedTextService class, like so:
@inject ILocalizedTextService textService
and trying to retrieve a dictionary/translation key like this:
<title>@textService.Localize(string.Empty, "Header.LogoTitle")</title>
however, it only prints
[Header.LogoTitle].
what am I doing wrong?
8 Views