ngx-scandoc 15.1.6 → 15.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1647,6 +1647,12 @@ class NgxScanDocTranslationProvider {
1647
1647
  this.defaultLang = lang;
1648
1648
  this.translate.setDefaultLang(this.defaultLang);
1649
1649
  }
1650
+ registerTranslationFolder(name = '', path = '') {
1651
+ console.log(name, path, this.userLang, this.defaultLang);
1652
+ if (!this.customLoader.providerRegistered(name)) {
1653
+ this.customLoader.registerProvider(name, this.path(path));
1654
+ }
1655
+ }
1650
1656
  addTranslationFolder(name = '', path = '') {
1651
1657
  console.log(name, path, this.userLang, this.defaultLang);
1652
1658
  if (!this.customLoader.providerRegistered(name)) {