Adding new translations

#1

How do I add new translation keys and values without having to reprovision? Can i just upsert as data?

`translate` keyword
#2

Yes, the type is Translation (everything is a type…)

Translation.upsert({
  id: 'en_US.someTranslation',
  key: 'someTranslation',
  locale: { id: 'en_US' },
  value: 'Translated value'
});

Edit: Keep in mind that since Translation mixes Metadata, any values modified or new values created will be completely replaced on the next provisioning.

#3

Note that you can provision seed data only with the following command:

c3-prov data -f $filename -t $tenant -g $tag -e $environment -u $user -p $password