Kirthi Krishnamraju
90116ddd78
fix #90 : ResourceStringLocalizerFactory creates string localizer based on resourcetype's name instead of full name
2015-10-19 10:39:05 -07:00
Kirthi Krishnamraju
18b63b9dbf
fix build break
2015-10-15 11:47:32 -07:00
Kirthi Krishnamraju
10ad8b5bdf
Remove unused namespace
2015-10-15 11:30:32 -07:00
Pranav K
55a1fab053
Replace NotNullAttribute with thrown exceptions
2015-10-08 17:09:44 -07:00
Hisham Bin Ateya
722fbc4ef5
CultureInfoCache.GetCultureInfo Should not be case sensitive
2015-10-06 00:44:28 +03:00
Pranav K
f782d8845c
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:49 -07:00
David Fowler
44890477a0
Merge pull request #91 from hishamco/internals
...
Fix project name in AssemblyInfo
2015-09-28 00:58:45 -07:00
Hisham Bin Ateya
61106d36a1
Fix issue #88
2015-09-28 00:11:45 -07:00
Hisham Bin Ateya
979d1d930b
Fix project name in AssemblyInfo
2015-09-26 00:23:29 +03:00
Kirthi Krishnamraju
06aa2412a8
Update sample to use LocalizationOptions and fixed issue in AddLocalization
2015-09-17 11:08:03 -07:00
Kirthi Krishnamraju
eefe518ac2
Add LocalizationOptions to specify resources location
2015-09-14 20:34:43 -07:00
Kirthi Krishnamraju
7b53bdd43e
Fix for #38 : Fallback to wrong language preference when the top preference is unavailable
2015-09-14 11:01:34 -07:00
Pranav K
3d2c013a48
Adding NeutralResourcesLanguageAttribute
2015-09-10 18:20:42 -07:00
Damian Edwards
c065c90337
Merge pull request #63 from hishamco/issue#62
...
Fix 'QueryStringRequestCultureProvider' Issue
2015-09-07 17:29:04 -07:00
Chris R
d927314047
Add missing namespaces.
2015-08-31 10:23:01 -07:00
Chris R
2a1cf633fc
Use new HttpContext.Features API.
2015-08-31 09:55:57 -07:00
Pranav K
1034e8a343
Reacting to DI changes
2015-08-11 13:58:06 -07:00
Hisham Abdullah Bin Ateya
1cfc62dbfd
Fix 'QueryStringRequestCultureProvider' Issue
2015-08-05 20:23:19 +03:00
Troy Dai
cc0c4e1f55
Update CoreCLR versions
2015-08-04 10:15:29 -07:00
Hisham Abdullah Bin Ateya
c228b65d47
Make 'DefaultCookieName' static readonly field instead of a property
...
DefaultCookieName as Constant
Add empty line
2015-07-30 11:44:27 -07:00
Hisham Abdullah Bin Ateya
01d0b5db22
Reformat project.json
...
Reformat project.json
Fix typo
2015-07-30 11:26:14 -07:00
Hisham Abdullah Bin Ateya
59d957df31
Simplify generating culture names
...
Replace '\n' with Environment.NewLine
2015-07-30 10:01:01 -07:00
Victor Hurdugaci
16a05755bf
React to DNX renames
2015-07-29 11:01:20 -07:00
Kiran Challa
064e2fe553
Added repository information to project.json files
2015-07-22 15:00:14 -07:00
Hisham Abdullah Bin Ateya
bce1e8f5b4
Remove extra comma from project.json
2015-07-05 05:36:50 +03:00
Hisham Abdullah Bin Ateya
576d4eaf8d
Fix missing docs in 'RequestCultureFeature'
2015-06-26 23:17:04 +03:00
Hisham Abdullah Bin Ateya
8f9a47358e
Fix 'RequestLocalizationMiddleware' missing docs
2015-06-26 04:49:43 +03:00
Hisham Abdullah Bin Ateya
113fa6d545
Remove "I" from "ApplicationBuilderExtensions"
2015-06-16 20:37:07 -07:00
Hisham Abdullah Bin Ateya
1e3b462210
Remove unnecessary parantheses
2015-06-16 19:49:02 -07:00
Pranav K
6644b5beba
Move System.Resources.ReaderWriter to dnxcore50 node
2015-06-03 22:41:05 -07:00
damianedwards
39f40d2c5f
Fix references to include beta-*
2015-05-29 11:46:24 -07:00
damianedwards
5eda65f336
Fix default path in CultureInfoGenerator:
...
- #26
2015-05-28 12:45:52 -07:00
damianedwards
1a47d19bb3
Introduces IStringLocalizer.GetAllStrings to replace direct IEnumerable impl:
...
- #18
Support not loading ancestor culture strings on IStringLocalizer.GetAllStrings:
- #23
2015-05-28 12:25:03 -07:00
damianedwards
90ca64c3dd
Statics be gone!
...
- Cleaned up ctors of ResourceManagerStringLocalizer and ResourceManagerWithCultureStringLocalizer too
2015-05-28 12:14:03 -07:00
Hisham Abdullah Bin Ateya
8382170178
Unnecessary using directives
2015-05-21 03:44:19 +03:00
damianedwards
5c7d811aa6
Fix the merge
2015-05-20 16:22:54 -07:00
damianedwards
e5a0918054
Merge branch 'dev' of https://github.com/hishamco/Localization into hishamco-dev
...
Conflicts:
src/Microsoft.AspNet.Localization/CustomRequestCultureStrategy.cs
src/Microsoft.AspNet.Localization/IApplicationBuilderExtensions.cs
src/Microsoft.Framework.Localization/ResourceManagerStringLocalizer.cs
2015-05-20 16:17:57 -07:00
damianedwards
4ba159afe7
Removed Moq from tests & enabled .NET Core
...
- Introduced AssemblyWrapper to enable testing
- Cleaned up properties on ResourceManagerStringLocalizer
- #15
Change "Strategy" to "Provider"
- #19
2015-05-20 14:41:52 -07:00
damianedwards
9384848cc7
Cache walk of the culture tree when building resource name list:
...
- #15
2015-05-20 14:41:36 -07:00
Troy Dai
f6119d4856
Update references
...
Microsoft.Framework.NotNullAttribute.Internal =>
Microsoft.Framework.NotNullAttribute.Sources
2015-05-20 12:41:17 -07:00
damianedwards
b86af22c4d
Fix inconsistent terminology name/key
2015-05-18 16:48:59 -07:00
damianedwards
6abeff9f09
Add missing [NotNull] attributes on StringLocalizerExtensions
2015-05-18 12:12:47 -07:00
damianedwards
cda137ca9f
Drop leading "I" from IStringLocalizerExtensions
2015-05-18 10:11:01 -07:00
damianedwards
2ba7049648
Moved methods off of IStringLocalizer and into extension methods
2015-05-15 12:37:02 -07:00
damianedwards
ecfb7f342a
Sort project.json dependencies
2015-05-15 12:14:14 -07:00
damianedwards
2431e1a542
Move CultureInfoCache into its own package.
2015-05-13 15:50:00 -07:00
Chris R
f4d18f5a5d
Use wildcard dependency version.
2015-05-12 06:39:15 -07:00
damianedwards
21dc2909a1
Made IRequestCultureStrategy async to support things like user profile lookup
2015-05-11 18:29:03 -07:00
damianedwards
d22adcbef0
Remove RequestCulture caching as perf testing shows it has no benefit
2015-05-11 18:05:36 -07:00
damianedwards
306d71ef43
Moved some things around:
...
- Options are now given to strategies
- Options only contains properties relevant to the middleware itself. Strategies can have their own properties, e.g. AcceptLanguageHeaderRequestCultureStrategy limits the number of values in the header to try
- Strategies now derive from common base class and validate against the options, e.g. app specified supported cultures
- Renamed RequestLocalizationMiddlewareOptions to RequestLocalizationOptions
- Fixed missing doc comments
2015-05-11 15:28:50 -07:00