@blacklight-cms/translate-static.plugin

Translate strings used in Blacklight templates and model processors

Usage no npm install needed!

<script type="module">
  import blacklightCmsTranslateStaticPlugin from 'https://cdn.skypack.dev/@blacklight-cms/translate-static.plugin';
</script>

README

Static Translation Plugin for Blacklight

This Blacklight plugin provides multilingual support for "static strings." In other words, translate strings that are hardcoded into your Blacklight Handlebars templates. Note, this plugin does not translate content coming from the content repository.

Example usage:

<a href="delete-everything.html">{{translate "delete_everything"}}</a>