2019-04-16 17:08:28 +02:00
|
|
|
|
using System;
|
2019-09-06 15:44:02 +02:00
|
|
|
|
using System.Collections.Generic;
|
2019-04-16 17:08:28 +02:00
|
|
|
|
using System.Globalization;
|
2019-04-11 21:33:10 +02:00
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Abstractions
|
|
|
|
|
{
|
|
|
|
|
public interface II18nService
|
|
|
|
|
{
|
|
|
|
|
CultureInfo Culture { get; set; }
|
2019-04-16 17:08:28 +02:00
|
|
|
|
StringComparer StringComparer { get; }
|
2019-09-06 15:44:02 +02:00
|
|
|
|
Dictionary<string, string> LocaleNames { get; }
|
2019-04-17 05:31:05 +02:00
|
|
|
|
string T(string id, string p1 = null, string p2 = null, string p3 = null);
|
|
|
|
|
string Translate(string id, string p1 = null, string p2 = null, string p3 = null);
|
2019-04-11 21:33:10 +02:00
|
|
|
|
}
|
2019-09-06 15:44:02 +02:00
|
|
|
|
}
|