Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nalysa 48 posts 269 karma points
    Jun 07, 2021 @ 08:08
    Nalysa
    0

    Can't get dictionary value inside UmbracoAuthorizedApiController

    Hi,

    I want to get a text from dictionary inside UmbracoAuthorizedApiController. But it always returns empty string.

    Here is the code that I use Umbraco.GetDictionaryValue("xxx");.

    Thank you.

  • Nalysa 48 posts 269 karma points
    Jun 07, 2021 @ 08:42
    Nalysa
    0

    I've found the issue. I set the dictionary value for en-US but the user language who accesses the page that uses the API is en-UK

Please Sign in or register to post replies

Write your reply to:

Draft