When I run the project locally the section is translated the way it should. I see the section with the correct translation: 'Formulierdata', but when I deploy it to Azure, I see the notorious brackets: '[formDataSection]'.
I can confirm that lang/en-us.xml is deployed on Azure. I can see this when I open Kudu and browse the files of the site.
I can also confirm that the language of the logged in user is set to 'en (US)' in the profile.
There are no multiple languages activated in Umbraco, only en-us.
This problem occurs in every Azure environment (test, acceptance, production).
Many thanks! This was indeed the issue. I had folder names with lowercase 'l'. After changing this to uppercase 'L' and restarting the app service, the sections are translated!
Custom section title keeps brackets when hosted on Azure
I have created a custom section. For this section I also have created a lang/en-us.xml file:
When I run the project locally the section is translated the way it should. I see the section with the correct translation: 'Formulierdata', but when I deploy it to Azure, I see the notorious brackets: '[formDataSection]'.
I can confirm that lang/en-us.xml is deployed on Azure. I can see this when I open Kudu and browse the files of the site.
I can also confirm that the language of the logged in user is set to 'en (US)' in the profile.
There are no multiple languages activated in Umbraco, only en-us.
This problem occurs in every Azure environment (test, acceptance, production).
What do I need to do to fix this?
Thanks.
Hi
If you are running Linux then the Lang folder is case sensitive and needs to start with a capital 'L') or it is not found 😒
Many thanks! This was indeed the issue. I had folder names with lowercase 'l'. After changing this to uppercase 'L' and restarting the app service, the sections are translated!
is working on a reply...