printMissingTranslations(log) {
    const defaultLocale = this.getDefaultLocale();
    const defaultLocaleKeys = Object.keys(defaultLocale);

    const localeNames = this.getLocales();
    for (const name of localeNames) {
      if (DefaultLocale === name) {
        continue;
      }

      for (const textId of defaultLocaleKeys) {
        if (LangManager.LOCALES[name][textId] === undefined) {
          log.w('LangManager: locale "' + name + '" is missing translation for key: "' + textId + '"');
        }
      }
    }
  }
/**
   * Prints missing localizations comparing to the default locale. For debugging purposes.
   * @param  {Log}    log the log object which will print the missing translations
   */
Prints missing localizations comparing to the default locale. For debugging purposes.
@param  {Log}    log the log object which will print the missing translations
Prints missing localizations comparing to the default locale . For debugging purposes . @param { Log } log the log object which will print the missing translations
printMissingTranslations(log) {
    const defaultLocale = this.getDefaultLocale();
    const defaultLocaleKeys = Object.keys(defaultLocale);
    const localeNames = this.getLocales();
    for (const name of localeNames) {
      if (DefaultLocale === name) {
        continue;
      }
      for (const textId of defaultLocaleKeys) {
        if (LangManager.LOCALES[name][textId] === undefined) {
          log.w('LangManager: locale "' + name + '" is missing translation for key: "' + textId + '"');
        }
      }
    }
  }
printMissingTranslations ( log ) { const defaultLocale = this . getDefaultLocale ( ) ; const defaultLocaleKeys = Object . keys ( defaultLocale ) ; const localeNames = this . getLocales ( ) ; for ( const name of localeNames ) { if ( DefaultLocale === name ) { continue ; } for ( const textId of defaultLocaleKeys ) { if ( LangManager . LOCALES [ name ] [ textId ] === undefined ) { log . w ( 'LangManager: locale "' + name + '" is missing translation for key: "' + textId + '"' ) ; } } } }
Prints missing localizations comparing to the default locale.
Prints missing localizations comparing to the default locale .