ILocalizablePlugin.cs 577 B

1234567891011121314151617181920
  1. using System.IO;
  2. using System.Reflection;
  3. namespace MediaBrowser.Controller.Plugins
  4. {
  5. public interface ILocalizablePlugin
  6. {
  7. Stream GetDictionary(string culture);
  8. }
  9. public static class LocalizablePluginHelper
  10. {
  11. public static Stream GetDictionary(Assembly assembly, string manifestPrefix, string culture)
  12. {
  13. // Find all dictionaries using GetManifestResourceNames, start start with the prefix
  14. // Return the one for the culture if exists, otherwise return the default
  15. return null;
  16. }
  17. }
  18. }