Copied to clipboard

Flag this post as spam?

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

  • Adriano Fabri 448 posts 1566 karma points
    Apr 19, 2016 @ 14:25
    Adriano Fabri

    Custom language file for Package not loaded

    Hello, I want to create my custom language file for my package.

    When I create my custom area and key into /Umbraco/Config/Lang/en.xml file, the localization function properly.

    Now I created my custom Lang folder with my custom en.xml file

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <language alias="en" intName="English (UK)" localName="English (UK)" lcid="" culture="en-GB">
        <area alias="sections">
            <key alias="ADRIANO">ADRIANO</key>
        <area alias="ADRIANO">
            <key alias="Button">Button</key>

    I put my custom Lang folder into my Package folder.


    I tried to put the "Lang" folder in


    and also in


    but the text of my button is always


    What's wrong?

  • Jan Skovgaard 11264 posts 23595 karma points MVP 9x admin c-trib
    Apr 20, 2016 @ 05:32
    Jan Skovgaard

    Hi Adriana

    What exact version of Umbraco 7 are you using? This option was not introduced untill the release of 7.3.

    You can see the documentation about how to use it here if you have not done so already

    Hope this helps.


  • Adriano Fabri 448 posts 1566 karma points
    Apr 20, 2016 @ 08:22
    Adriano Fabri

    Hi Jan, first of all my name is Adriano :-)

    Thank you for reply...I'm using Umbraco version 7.4.1 assembly: 1.0.5891.23238

    I have read that link and as I wrote in my post I tried to put the Lang folder in


    but the text of my button is always


    I don't understand if I must declare it or include a directive to tell Umbraco that there is a custom language files or Umbraco should find automatically my custom language file and use it

    (Sorry my not perfect english) :-)

  • Micha Somers 134 posts 597 karma points
    Apr 20, 2016 @ 09:14
    Micha Somers

    Hi Adriano,

    Rename your en.xml file to en-GB.xml, put it in the App_Plugin/ADRIANO/lang folder ... and see the magic happen!

  • Adriano Fabri 448 posts 1566 karma points
    Apr 20, 2016 @ 09:55
    Adriano Fabri
    1 works like a charm!!!

    Thank you!

  • Jan Skovgaard 11264 posts 23595 karma points MVP 9x admin c-trib
    Apr 20, 2016 @ 11:44
    Jan Skovgaard

    Hi Adriano

    Sorry about the spelling mistake - It went a bit fast.

    Happy to see that M. Somers came up with the correct solution to your issue. I should have thought of that myself as well.

    When working with property editors and language versioning it's also important to clear the browser cache from time to time or maybe even Umbraco's backoffice cache in order to see the changes take effect when editing the language files or adding new items to them.

    Happy developing :)


  • Caglar Tasci 19 posts 125 karma points
    Feb 13, 2017 @ 21:30
    Caglar Tasci

    I had the same issue. Had to touch the web.config file to clear the backoffice's cache. only enabling the debuggers "Disable cache (while DevTools is open)" was not enough.

  • John Sharp 4 posts 74 karma points
    Apr 23, 2018 @ 17:41
    John Sharp

    Hi Adriano,

    I'm stuck with the same problem. I think mine is because I don't know how to create the package correctly. Do you have any advice?



  • George Phillipson 108 posts 286 karma points
    Jun 19, 2021 @ 23:29
    George Phillipson

    I know this is an old post, I had the same problem and in the end, the only way I could get it to work was to go to: /umbraco/config/Lang/

    find en-us and then search for dashboardTabs and then manually add my alias.

    Once done it worked OK

Please Sign in or register to post replies

Write your reply to: