Skip to content

Full setup to create localized emails with mjml and localise.

Notifications You must be signed in to change notification settings

bagadim/mjml-localise-emails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

info

Simple way to create emails with mjml template language that you can customize and predefined scripts for localizing those emails using lokalise.io service.

You need lokalise.io project to run it. If you do not use lokalise.io in your project, you will need to replace localization process.

to start

Set LOKALISE_PROJECT_ID in gulpfile.js

$ gulp download-translations --key=<lokalise_token>
$ gulp

prod build

$ gulp prod --key=<lokalise_token>

Output

output_example

other

To start watcher only for mjml transpiling (not very effective as after transpiling templates contain only string keys, but could help to identify issues with mjml traspiling):

$ gulp --mjml

Localization:

$ gulp download-translations --key=<lokalise_token>

About

Full setup to create localized emails with mjml and localise.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published