Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Jul 14, 2009 @ 16:58
    Chris Houston
    1

    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

  • Warren Buckley 2106 posts 4836 karma points MVP ∞ admin hq c-trib
    Jul 14, 2009 @ 17:02
    Warren Buckley
    0

    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.

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Jul 14, 2009 @ 18:43
    Chris Houston
    1

    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

  • Paul Sterling 718 posts 1534 karma points MVP 8x admin c-trib
    Jul 14, 2009 @ 19:03
    Paul Sterling
    0

    Nice!  Thanks Chris...this is the missing piece for Commerce for Umbraco installer.

    Well done.

    -Paul

  • Warren Buckley 2106 posts 4836 karma points MVP ∞ admin hq c-trib
    Jul 14, 2009 @ 22:38
    Warren Buckley
    0

    Excellent great stuff I will remind Dirk to approve it, so it gets added to next minor release straight away.

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Jul 16, 2009 @ 18:12
    Chris Houston
    0

    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

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 16, 2009 @ 20:39
    Dirk De Grave
    0

    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

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Jul 17, 2009 @ 11:36
    Chris Houston
    0

    Cheers Dirk,

    Now that's some weird logic :)

    Thanks for the link to codeplex, I've voted for the issue!

    Cheers,

    Chris

  • Sa 118 posts 152 karma points
    Nov 07, 2009 @ 10:27
    Sa
    0

    Great work Mr.Chris.,

    where can we find the code package of it or its wiki page?

    Thanks

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 08, 2009 @ 17:20
    Chris Houston
    1

    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

  • Sa 118 posts 152 karma points
    Nov 09, 2009 @ 13:19
    Sa
    0

    Thanks..

    is it possible to create a package actions using custom installer( using .ascx page)  [Referred--package action reference]

Please Sign in or register to post replies

Write your reply to:

Draft