New label localizations on package install for application
I'm creating this package, and in it I have an application, a new section... To label it approprietaly, I went and added in : umbraco\config\lang\fr.xml and en.xml my labels:
<area alias="sections">
<key alias="content"><![CDATA[Contenu]]></key>
<key alias="myNewSection"><![CDATA[My new section]]></key>
Is there a way to do this through package installation actions? Or do I have to do this in my c# code that runs withe the package installation?
New label localizations on package install for application
I'm creating this package, and in it I have an application, a new section... To label it approprietaly, I went and added in : umbraco\config\lang\fr.xml and en.xml my labels:
Is there a way to do this through package installation actions? Or do I have to do this in my c# code that runs withe the package installation?
Thanks!
Seb
Hi Seb,
Ues you can use a Package action. It's in the Package action contrib dll http://our.umbraco.org/projects/backoffice-extensions/package-actions-contrib check the documentation for AddLanguageFileKey how to use it.
Hope this helps,
Richard
Exactly what I needed! I'll give it a try on monday, thanks!
Thanks Richard, I included AddLanguageFileKey.cs in my package DLL, renamed and added the actions, works perfectly!
is working on a reply...