ryanbrandenburg
5b1beb68b5
* Make test culture independent
2016-01-05 12:01:16 -08:00
ryanbrandenburg
f3855b9cf2
* Throw proper exception when missing resource
2015-12-29 14:13:20 -08:00
Eilon Lipton
2ce31c5122
Merge pull request #191 from hishamco/readme
...
Fix Microsoft.AspNet.Localization feed in README
2015-12-28 10:18:16 -08:00
John Luo
c1589ef9bc
Adding back middleware initialization with options instance.
2015-12-23 15:09:59 -08:00
Hisham Bin Ateya
a5e95cd914
Fix Microsoft.AspNet.Localization feed in README
2015-12-23 11:32:28 +03:00
John Luo
d9fc399531
Standardizing middleware to use configureOptions lambda
2015-12-22 21:57:56 -08:00
Hao Kung
489250a8e1
OptionsModel => Options
2015-12-21 16:07:14 -08:00
Chris R
c31c6cd186
React to Hosting changes.
2015-12-21 10:54:47 -08:00
John Luo
5c98dd5d98
Reacting to new Hosting API
2015-12-18 15:52:58 -08:00
damianedwards
017b9b8773
Added tests to cover ResourceManagerStringLocalizerFactory caching behavior
2015-12-18 14:28:08 -08:00
damianedwards
d3b84c19c8
Tweaked cache key when getting localizer from basName/location:
...
- Cleaned up code a little to make it easier to understand (maybe)
- #138
2015-12-18 14:28:08 -08:00
Pranav K
0b9b99e617
Don't throw if LocalizedString is null
2015-12-17 20:56:37 -08:00
damianedwards
f55f32fdb8
Make LocalizedString a class
2015-12-17 15:46:40 -08:00
damianedwards
f7f8d9b9eb
Rename "ancestor" to "parent" on loc APIs
2015-12-17 15:25:39 -08:00
damianedwards
b041a07652
Change culture fallback to depth-first:
...
- #112
2015-12-16 16:11:22 -08:00
damianedwards
e72d3cb249
ResourceManagerStringLocalizerFactory trims app name from resource base name:
...
- Only applies when LocalizationOptions.ResourcesPath is set
- #167
2015-12-16 15:38:25 -08:00
damianedwards
2e8ae969b7
Changed property name based on feedback
2015-12-16 12:11:22 -08:00
damianedwards
1c5362bccb
Added support for hierarchical culture fallback:
...
- Enabled by default and configured by RequestLocalizationOptions.FallbackToAncestorCulture/FallbackToAncestorUICulture
- Tries all candidate cultures first before trimming the list to parents and trying again, until a match is found, depth limit is reached, or none is found
- Updated functional tests to cover fallback case
- #112
2015-12-15 14:56:04 -08:00
ryanbrandenburg
5074bf0c57
* Default ResourcePath behavior is to look next to .cs file
2015-12-15 11:53:55 -08:00
damianedwards
0b013ae769
Usability improvements:
...
- Remove the defaultRequestCulture parameter from IApplicationBuilder.UseRequestLocalization and make it a property on RequestLocalizationOptions instead
- Have just a single overload for IApplicationBuilder.UseRequestLocalization that takes the options
- #164
2015-12-11 15:21:07 -08:00
Pranav K
75187b0bd7
Merge branch 'release' into dev
2015-12-11 12:24:23 -08:00
Pranav K
4b551e8a66
Updating to release NuGet.config.
2015-12-11 12:24:20 -08:00
damianedwards
7033871b14
Fix tests in reaction to Options changes
2015-12-10 21:32:05 -08:00
damianedwards
9afd2c256b
Make ResourceManagerStringLocalizer thread safe now instances are cached & shared
2015-12-10 17:49:44 -08:00
Damian Edwards
8a03857330
Update README.md
2015-12-08 14:31:08 -08:00
Damian Edwards
17faf92994
Update README.md
2015-12-08 12:12:51 -08:00
Damian Edwards
10ec8c890b
Add package badges to README.md
2015-12-08 12:01:32 -08:00
Pranav K
62412836de
Removing extraneous dependencies
2015-12-08 10:48:26 -08:00
damianedwards
96462b9528
Make the ResourceManagerStringLocalizerFactory cache localizer instances
...
- #156
2015-12-07 22:20:17 -08:00
Doug Bunting
36bc26fb55
Remove `[SuppressMessage]`s
...
- build break
nit: let VS have its way w/ a `.xproj` file
2015-12-07 21:07:23 -08:00
Doug Bunting
6b9e3985e0
Ignore `launchSettings.json` files
...
nit: reordered `.gitignore` file a bit by copying from another repo
2015-12-02 14:06:55 -08:00
Pranav K
fa8eceb342
Allowing CoreCLR tests to run on Travis
2015-12-01 12:42:34 -08:00
Doug Bunting
c262feace2
Move Travis to supported Linux distribution
...
- use Ubuntu 14.04 (Trusty)
- Travis support for Trusty is in Beta and currently requires `sudo`
- run `dnu restore` with DNX Core since aspnet/External#49 is not fixed in Mono versions we can use
- add required dependencies for DNX Core to `.travis.yml`
- addresses part of aspnet/Universe#290
2015-11-17 14:09:53 -08:00
Doug Bunting
09300ff8ca
Explicitly choose Mono 4.0.5
...
- avoids future problems related to aspnet/External#48
- e.g. when Travis updates default Mono version in `csharp` bundle
2015-11-17 11:06:40 -08:00
N. Taylor Mullen
dc56363dbd
Remove System beta tag in project.json for coreclr packages.
2015-11-12 12:24:23 -08:00
Troy Dai
e40f89174e
Update .travis.yml to install libuv
2015-11-10 16:15:46 -08:00
Troy Dai
83c46fb8b7
Run CoreCLR test when runtime framework is CoreCLR
2015-11-10 14:40:19 -08:00
Cesar Blum Silveira
e88655bf29
Merge branch 'release' into dev
2015-11-03 13:27:14 -08:00
Cesar Blum Silveira
d8060792b2
Strong name everything.
2015-11-03 12:14:18 -08:00
Chris R
198fbad113
React to Cookie API changes.
2015-11-03 11:05:17 -08:00
damianedwards
e93a00c2c4
Fix the sample:
...
- Configure Kestrel properly
2015-11-01 21:08:01 -08:00
Pranav K
8389149a1c
Merge branch 'release' into dev
2015-10-28 12:51:31 -07:00
Pranav K
5b6196a615
Updating to release NuGet.config.
2015-10-28 12:43:09 -07:00
Kirthi Krishnamraju
14881cbae8
Remove CultureInfoGenerator from NugetPackageVerifier
2015-10-26 11:59:23 -07:00
Hisham Bin Ateya
bb83bd27cb
Fix docs
2015-10-26 10:24:25 -07:00
Hisham Bin Ateya
c79e8e8886
Remove CultureInfoGenerator
2015-10-24 04:36:46 +03:00
Ryan Nowak
68f1a45ea7
Fix breaking change from stringvalues
2015-10-23 15:43:50 -07:00
Kirthi Krishnamraju
636459a6f7
Fix #111 : Design changes to known/allowed culture list and cache
2015-10-23 00:41:07 -07:00
Pavel Krymets
d25ad6607e
Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions
2015-10-22 18:38:05 -07:00
Pranav K
c6bf98c9b7
Switching to generations TFMs
2015-10-22 01:08:12 -07:00