Lock singleton to global, add onmiss entry point
- Lock singleton to global
- Add onmiss entry point, so singletons can also register for missing translation event
Example
i18n.onmiss((key, scope) => console.error(`Missing key "${key}" ${scope ? `In scope: "${scope}"`}`));