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
App_Plugin/ADRIANO
but the text of my button is always
[ADRIANO_Button]
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 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.
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.
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
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?
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 https://our.umbraco.org/documentation/Extending/Language-Files/Language-Files-For-Packages/
Hope this helps.
/Jan
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) :-)
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!
perfect...it works like a charm!!!
Thank you!
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 :)
/Jan
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.
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?
Cheers,
John
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
is working on a reply...