Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Trying to setup a package language file, something I don't do very often and it shows :)
I have a dashboard accessed via a Tab on the homepage. Its showing the alias of my dashboard in square brackets like so [petesDashboard]
Following the instructions here:
https://our.umbraco.com/documentation/Extending/Packages/Language-Files-For-Packages/
I've created a en-US.xml file in the App_Plugins/petesPackage/lang folder and put in the following xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <language alias="en_us" intName="English (US)" localName="English (US)" lcid="" culture="en-US"> <creator> <name>Offroadcode Ltd</name> <link>http://offroadcode.com</link>; </creator> <area alias="general"> <key alias="petesDashboard">Much wow!</key> </area> </language>
But its not working! I'm thinking that the area alias is wrong but I can't for the life of me find any docs on what it should be, seems its one of those things you just need to "know" and right now I don't know it :(
What am I doing wrong?
Hi Pete
For the dashboard label the area name is "dashboardTabs"
is working on a reply...
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.
Continue discussion
What is the "area" element in a language file and what should I set it to?
Trying to setup a package language file, something I don't do very often and it shows :)
I have a dashboard accessed via a Tab on the homepage. Its showing the alias of my dashboard in square brackets like so [petesDashboard]
Following the instructions here:
https://our.umbraco.com/documentation/Extending/Packages/Language-Files-For-Packages/
I've created a en-US.xml file in the App_Plugins/petesPackage/lang folder and put in the following xml
But its not working! I'm thinking that the area alias is wrong but I can't for the life of me find any docs on what it should be, seems its one of those things you just need to "know" and right now I don't know it :(
What am I doing wrong?
Hi Pete
For the dashboard label the area name is "dashboardTabs"
is working on a reply...
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.