Copied to clipboard

Flag this post as spam?

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


  • Sören Deger 726 posts 2833 karma points c-trib
    Sep 10, 2014 @ 14:18
    Sören Deger
    0

    Implement missing localization keys

    Hi,

    in version 7.1.6 localization key are not stored in the backend for all terms. How can I implement this missing localization keys? I have do this in "~\propertyeditors\membergroups\membergroups.html" without success :

    Original:

    <h5>Not a member of group(s)</h5>

    Edited:

    <h5><localize key="test_ld">TEST: Not a member of group(s)</localize></h5>

    I have added this key in en.xml and the same key with translated value in de.xml under <area alias="content">:

    <key alias="test_ld">Test: custom translation"</key>

    But if I edit a member I see only: 

    [TEST_LD]

    I have deleted the cache multiple times and refresh application pool, too.

     

    Any ideas to solve this?

     

    Sören

  • David Brendel 786 posts 2949 karma points c-trib
    Sep 10, 2014 @ 16:27
    David Brendel
    101

    Hi Sören,

    think its because you have your localization key called "test_ld".

    The umbraco language files are build in that scheme but the first part is the alias of the area and the secound the alias of the actuall value key.

    So in your case it should be "content_ld" as your localisation key:

    <h5><localizekey="content_ld">TEST: Not a member of group(s)</localize></h5>

    and in the language file it should be:

    <keyalias="ld">Test: custom translation"</key>

    in the content area of the language file.

    David

  • Sören Deger 726 posts 2833 karma points c-trib
    Sep 10, 2014 @ 16:31
    Sören Deger
    0

    Hi David,

    thanks! Now, it works great!

     

    Sören

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies