mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Adding Transliteration Lib
This commit is contained in:
BIN
lib/mstranslittools/MSTranslitTools.DLL
Normal file
BIN
lib/mstranslittools/MSTranslitTools.DLL
Normal file
Binary file not shown.
@@ -47,6 +47,9 @@
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MSTranslitTools">
|
||||
<HintPath>..\..\..\..\lib\mstranslittools\MSTranslitTools.DLL</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
@@ -67,6 +70,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="Controllers\AdminController.cs" />
|
||||
<Compile Include="Controllers\CutlureSelectorController.cs" />
|
||||
<Compile Include="Providers\ContentTokens.cs" />
|
||||
<Compile Include="Providers\CultureSelectorSelector.cs" />
|
||||
<Compile Include="Services\AdminDirectionalityFactory.cs" />
|
||||
<Compile Include="Services\CultureSelectorFactory.cs" />
|
||||
|
@@ -0,0 +1,25 @@
|
||||
//using System;
|
||||
//using System.NaturalLanguage.Tools;
|
||||
//using Orchard.ContentManagement;
|
||||
//using Orchard.Core.Settings.Tokens;
|
||||
|
||||
//namespace Orchard.Localization.Providers {
|
||||
// public class TransliterationTokens : ITokenProvider {
|
||||
// private readonly IContentManager _contentManager;
|
||||
|
||||
// public TransliterationTokens(IContentManager contentManager) {
|
||||
// _contentManager = contentManager;
|
||||
// }
|
||||
|
||||
// public Localizer T { get; set; }
|
||||
|
||||
|
||||
// public void Describe(dynamic context) {
|
||||
// var x = new Transliterator()
|
||||
// }
|
||||
|
||||
// public void Evaluate(dynamic context) {
|
||||
// throw new NotImplementedException();
|
||||
// }
|
||||
// }
|
||||
//}
|
Reference in New Issue
Block a user