Language Pack Installation Error

Friday, December 27, 2024 12:16:36 AM
  • Posted: Friday, October 16, 2020 1:12 PM
  • 3
Hi, I download grandnode v4.80 developer pack and install my computer. I try install Turkish language pack. This package for v4.50 and xml file in zip.
I try upload this file from Lacal Plugin page. But firstly exception from this line :

                var rootDirectories = archive.Entries.Where(entry => entry.FullName.Count(ch => ch == '/') == 1 && entry.FullName.EndsWith("/")).ToList(); //Exception Here
                if (rootDirectories.Count != 1)
                {
                    throw new Exception($"The archive should contain only one root plugin or theme directory. " +
                        $"For example, Payments.PayPalDirect or DefaultClean. ");
                }

I create new folder and I put xml file inside this folder and re create zip. And this time, I get this error : "This plugin doesn't support the current version - 4.80" because it want to .dll. "foreach (var entry in archive.Entries.Where(x => x.FullName.Contains(".dll")))". What should I do? Any idea?
0
  • Posted: Friday, October 16, 2020 1:46 PM
  • 3
I'm so sorry everybody. Language packs are not plugin it's resource file :) You can delete this topic.
0
back to top
Filters