Package action to add text to the Umbraco language files
Hi All,
I wondered if anyone had created a package action to add keys / sections to the Umbraco language files?
E.g. The English language file:
\umbraco\config\lang\en.xml
I am currently creating and I would like to be able to add the text to the language files, I just wondered if someone else has already done this rather than me re-inventing the wheel and creating a new Package action.
If not, I'll probably create this action and submit it to be added to the Package Action's Contrib project.
No I dont think there is, so if you can create it and add it to the Package Actions Contrib project that would be great and dont forget to add a new WIKI page for your new action once it gets approved.
In case others come across this post and want to do the same thing, I have just created a new package action to add key's to the language files, I will submit it to the Package Action Contrib project tomorrow.
I've uploaded a patch to Codeplex, please feel free to test it and make sure I've not missed something stupid ;-)
Especially in the Undo side of things, as I think I've coded it correctly but it does not seem to be Undo'ing correctly so either I've done something stupid or there is a problem with the core code?
Dammit, worng keystroke... so, once again, undo="false" will make sure the action gets into the list of actions to undo when uninstalling (ok, it sounds weird, that's just as it is now). Or even better, just omit the undo="false" part (installer assumes in that case undo should be supported)
Bug has been reported on Codeplex, go vote for it.
Package action to add text to the Umbraco language files
Hi All,
I wondered if anyone had created a package action to add keys / sections to the Umbraco language files?
E.g. The English language file:
\umbraco\config\lang\en.xml
I am currently creating and I would like to be able to add the text to the language files, I just wondered if someone else has already done this rather than me re-inventing the wheel and creating a new Package action.
If not, I'll probably create this action and submit it to be added to the Package Action's Contrib project.
Cheers,
Chris
No I dont think there is, so if you can create it and add it to the Package Actions Contrib project that would be great and dont forget to add a new WIKI page for your new action once it gets approved.
In case others come across this post and want to do the same thing, I have just created a new package action to add key's to the language files, I will submit it to the Package Action Contrib project tomorrow.
Cheers, Chris
Nice! Thanks Chris...this is the missing piece for Commerce for Umbraco installer.
Well done.
-Paul
Excellent great stuff I will remind Dirk to approve it, so it gets added to next minor release straight away.
Hi Warren / Paul,
I've uploaded a patch to Codeplex, please feel free to test it and make sure I've not missed something stupid ;-)
Especially in the Undo side of things, as I think I've coded it correctly but it does not seem to be Undo'ing correctly so either I've done something stupid or there is a problem with the core code?
Cheers,
Chris
Dammit, worng keystroke... so, once again, undo="false" will make sure the action gets into the list of actions to undo when uninstalling (ok, it sounds weird, that's just as it is now). Or even better, just omit the undo="false" part (installer assumes in that case undo should be supported)
Bug has been reported on Codeplex, go vote for it.
Cheers,
/Dirk
Cheers Dirk,
Now that's some weird logic :)
Thanks for the link to codeplex, I've voted for the issue!
Cheers,
Chris
Great work Mr.Chris.,
where can we find the code package of it or its wiki page?
Thanks
Hi Sam,
I uploaded the patch for inclusion in June but it still has not been added, so I don't know whether it will or not.
You download the patch and patch your own version of the source, the patch can be found here:
http://packageactioncontrib.codeplex.com/SourceControl/PatchList.aspx
Cheers,
Chris
Thanks..
is it possible to create a package actions using custom installer( using .ascx page) [Referred--package action reference]
is working on a reply...