Copied to clipboard

Flag this post as spam?

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


  • Dave Gordon 9 posts 31 karma points
    Dec 15, 2014 @ 01:26
    Dave Gordon
    0

    Automatically Localizing currency based content in RTE

    I was writing some content and entered a price. Suddenly I relaised that this wasn't going to work as it was "hard coded" so could not easily be updated; and not easily localisable.

    So I thought ok - I don't like this method but I could create a dictionary for prices and enter the price there in a pre-defined currency say USD.

    Then create a macro which gets the value, converts it to the culture of the user's browser, then does an automatic currency exchange rate conversion

    Insert the macro in the RTE and all should be good. But, and it is a BIG BUT.

    The culture conversion and exchange rate conversion seems to me to be a big drain on resources when rendering content. Also, trying to remember all the dictionary items for prices also seems to be a little more than an annoyance.

    So any ideas how this could be done.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 15, 2014 @ 07:28
    Jan Skovgaard
    0

    Hi Dave

    How many languages is your site going to support? There are different approaches to deal with multi-language sites but before suggesting too much I would like to know more about your scenario.

    I'm also wondering why you're adding currency specific stuff to a rich text editor? Are you building a shop or what is it for? And how much information are you putting in the RTE? And what kind?

    I could easily suggest that you have a look at the Vorto package by Matt Brailsford etc. but that might not be the right fit in your scenario. Perhaps you're better of with making a site pr. language (Still within the same Umbraco installation).

    Looking forward to hearing from you.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft