Skip to content

Releases: danburzo/nano-i18n

v1.0.0

02 Sep 12:16
Compare
Choose a tag to compare

Possible breaking change. Switched the nano-i18n/loader Webpack loader to async mode to support asynchronous parse functions.

v0.2.0

03 Aug 18:53
Compare
Choose a tag to compare

New features:

  • the log() function receives the raw key 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))