Is it possible to have translations in a .jsx file?


If so how? Currently I am using props to make it possible to use translations for button text but I was wondering if there was a better way.


Yes, use the Translate component:

<Translate translationKey={translationKey} />

(btw this is currently in beta and subject to change)