cozy-i18n-helper

A helper to handle i18n in your cozy application

Usage no npm install needed!

<script type="module">
  import cozyI18nHelper from 'https://cdn.skypack.dev/cozy-i18n-helper';
</script>

README

Socket Listener

Helper library for i18n in cozy

Requirements

  1. Add CozyInstance to your app's permission

Usage :


# Middleware (express)
app.use require('cozy-i18n-helper').middleware

# Mounted (Compound)
require('cozy-i18n-helper').mount compound