function processStrings(lang, resultExpanded) {
  const targetFile = targetDir + lang + '.json';
  // for now, we just write the output to a JSON file
  fs.writeFileSync(targetFile,
    JSON.stringify(resultExpanded, null, 4) + '\n' );
  console.log('Wrote:      ', targetFile);
}
/**
 * Process the strings from a single language
 * @param {String} lang - language id
 * @param {Object} resultExpanded - the reconstituted original object
 */
Process the strings from a single language
@param {String} lang - language id
@param {Object} resultExpanded - the reconstituted original object
Process the strings from a single language @param { String } lang - language id @param { Object } resultExpanded - the reconstituted original object
function processStrings(lang, resultExpanded) {
  const targetFile = targetDir + lang + '.json';
  fs.writeFileSync(targetFile,
    JSON.stringify(resultExpanded, null, 4) + '\n' );
  console.log('Wrote:      ', targetFile);
}
function processStrings ( lang , resultExpanded ) { const targetFile = targetDir + lang + '.json' ; fs . writeFileSync ( targetFile , JSON . stringify ( resultExpanded , null , 4 ) + '\n' ) ; console . log ( 'Wrote:      ' , targetFile ) ; }
Process the strings from a single language
 @param {String} lang - language id
 @param {Object} resultExpanded - the reconstituted original object
Process the strings from a single language @param { String } lang - language id @param { Object } resultExpanded - the reconstituted original object
// for now, we just write the output to a JSON file