I worked this out, all I needed to do was add the lang folder to the "project" folder like this:
# mysite
+-# lang
+- en.yml
en.yml contains:
en:
ProductForm:
PRODUCT_ADDED: 'My translation'
PRODUCT_ADDED_LINK: 'My translation'
ADD_TO_CART: ''My translation'