Contentful logo

Contentful Community

Amount and currency personalization

Hey all,

I was wondering what is the best practice if I want to serve some content that contains an amount and currency personalized, but without using a locale (e.g. all text in English).
So let’s say I have some content that says now: "Gift 10 EUR " and I want to show “Gift 15 USD” (and show this only for users in US). As I see there are a couple of options:
a. I have two different contentIds (one with “Gift 10 EUR” and one with “Gift 15 USD)” and have the business logic on my side for selcting the id.
b. have on “Gift” served from Contentful and the actual values and currency codes hardcoded and controled from by backend

or there is some out of the box solution from contentful?