Copied to clipboard

Flag this post as spam?

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


  • Peter van den Dungen 66 posts 365 karma points
    Jun 15, 2020 @ 08:13
    Peter van den Dungen
    0

    Localize 'actions_create' button in backoffice

    Hi,

    How do I overwrite localize backoffice buttons, f.e "actions_create"?

    This is returning null, but is the LocalizationService purposed for backoffice elements too? (I guess only frontend right?)

    var result = _localizationService.GetDictionaryItemByKey("actions_create");
    
  • Peter van den Dungen 66 posts 365 karma points
    Jun 15, 2020 @ 08:22
    Peter van den Dungen
    100

    I got it working already, LocalizationService is not needed, all I had to do was adding a key into the /config/Lang/nl-NL.xml file.

    <language alias="nl" intName="Dutch" localName="Nederlands" lcid="19" culture="nl-NL">
      <creator>
        <name>The Umbraco community</name>
        <link>https://our.umbraco.com/documentation/Extending-Umbraco/Language-Files</link>;
      </creator>
      <area alias="actions">
        <key alias="create">....</key>
      </area>
    </language>
    
Please Sign in or register to post replies

Write your reply to:

Draft