aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs
blob: e914fc2000fdf6b80b13b912ff9e297345f438f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.IO;
using System.Reflection;

namespace MediaBrowser.Controller.Plugins
{
    public interface ILocalizablePlugin
    {
        Stream GetDictionary(string culture);
    }

    public static class LocalizablePluginHelper
    {
        public static Stream GetDictionary(Assembly assembly, string manifestPrefix, string culture)
        {
            // Find all dictionaries using GetManifestResourceNames, start start with the prefix
            // Return the one for the culture if exists, otherwise return the default
            return null;
        }
    }
}