Copied to clipboard

Flag this post as spam?

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


  • Tomasz Kowalski 135 posts 445 karma points
    Jul 06, 2020 @ 13:54
    Tomasz Kowalski
    0

    Vendr.Checkout - translation

    Hi,

    First - I think it's a prety good package. It saves a lot of time :)

    I need to have it in Danish. Is there a better way to do it than just to translate all texts in \App_Plugins\VendrCheckout\Views ?

    Regards

    Tomasz

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jul 06, 2020 @ 14:01
    Matt Brailsford
    0

    Hi Tomasz,

    The ideal thing would be for us to move all fixed strings into Umbraco dictionary items and then they could all be translated in the back office. Unfortunately I wasn't able to get that completed before release so you would either need to do update the views to do this or just update them for your given language.

    I'd be open for contributions on this if anyone wanted to look at converting this over to use dictionary items as the Vendr.Checkout package is completely open source https://github.com/vendrhub/vendr-checkout

    /Matt

  • NPina 32 posts 183 karma points
    Jan 24, 2023 @ 18:48
    NPina
    0

    Hi Matt,

    Is there any update about this topic?

    I'm facing this issues now. The body of checkout steps page, does not translate according to the current language.

    Has the dictionary keys are moved to umbraco dictionary, or it is for us to do this manually?

    Best regards

    /Npina

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jan 25, 2023 @ 09:23
    Matt Brailsford
    0

    Hi NPina,

    Vendr Checkout has been updated to look for dictionary keys, but if it doesn't find them it will fallback to a hard coded value.

    Unfortunately it doesn't look like we've yet documented the list of dictionary keys you'd need to create so for now you'd have to look through the templates in the App_Plugins\VendrCheckout\views folder for any occurence of Umbraco.GetDictionaryValue and for all found keys, create dictionary entries for them.

  • Tomasz Kowalski 135 posts 445 karma points
    Jul 07, 2020 @ 05:39
    Tomasz Kowalski
    0

    Thanks, Matt

    I thought, that dictionary items would be the best solutions. I don't know if I have time now, but I can give it a try and contribute on this.

    /Tomasz

Please Sign in or register to post replies

Write your reply to:

Draft