Generate Code

How to generate type safe code from your translations.

You can start generating code once you have created your translations.

On Demand

Running yaml8n generate will generate code for all of the outputs listed in your Translations.

Watch

Instead of generating code on demand, you can have YAML8n watch your Translations and generate code upon saving them using yaml8n watch.