Skip to content

Instantly share code, notes, and snippets.

@anteburazer
Created June 5, 2017 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anteburazer/71dab1c4d48af395da7a8ee03c85aa67 to your computer and use it in GitHub Desktop.
Save anteburazer/71dab1c4d48af395da7a8ee03c85aa67 to your computer and use it in GitHub Desktop.
function mergeAndSaveJsonFiles(src, dest) {
jsonConcat({ src: src, dest: dest },
(res) => console.log('Localization files successfully merged!');
);
}
// Merge all localization files into one
mergeAndSaveJsonFiles(localizationSourceFilesEN, "./i18n/en.json");
mergeAndSaveJsonFiles(localizationSourceFilesHR, "./i18n/hr.json");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment