v0.2.0
New features:
- the
log()
function receives the rawkey
as its second argument, allowing you to collect all missing translations:
window.missing_translations = new Set();
config({
log: (err, key) => {
console.warn(err);
window.missing_translations.add(key);
}
});
Then, from the browser console, copy all missing keys to the clipboard with: copy(Array.from(window.missing_translations))