Comments (10)
I was thinking about Blazor while it's beta, perhaps I need to revise this soon while the localisation are supported now
Thanks
from my.extensions.localization.json.
If you want to pick this one I will be glad, we need a sample too to ensure nothing breaks
from my.extensions.localization.json.
I did some progress on this one, seems we need to remove the IHostingEnvironment
dependency, coz it's not registered by default in Blazor
from my.extensions.localization.json.
Ok, the problem I see is that there is no hosting environment in blazor client side, that's why it has been removed...just to understand why do you need it ? Do you need to access contentrootpath or webrootpath ?
from my.extensions.localization.json.
I see is that there is no hosting environment in blazor client side,
Nope, there's IWebAssemblyHostEnvironment
that can be accessed via WebAssemblyHostBuilder
Do you need to access contentrootpath or webrootpath ?
Yep, but seems it's save to remove it now - for the upcoming major release - while it's not used
from my.extensions.localization.json.
Still there's another exception I got, I'm working to fix it ...
from my.extensions.localization.json.
Here is #56 a WIP, you can have a try to fix the current bug if you are interested
from my.extensions.localization.json.
Which bug are you talking about ?
from my.extensions.localization.json.
I'm not sure, but while I'm injecting IStringLocalizer
I got some exception in the console, probably something goes wrong
from my.extensions.localization.json.
FYI: netstandard
now has been supported in PR #56, there's a known issue in Blazor WebAssembly only
from my.extensions.localization.json.
Related Issues (20)
- Add Benchmark HOT 16
- Missing Localization Behavior
- Remove internal contructor in JsonStringLocalizer HOT 1
- Ability to override methods in JsonStringLocalizer and JsonStringLocalizerFactory HOT 9
- Registering the service one should provide absolute path, otherwise exception is thrown HOT 31
- Localization FallBack Considerations
- Support ResourceLocationAttribute HOT 1
- Support RootNamespaceAttribute
- assign culture in runtime HOT 3
- Have one resource file for project HOT 13
- How to use with DataAnnotation? HOT 17
- Regression Bug HOT 1
- LocalizationSample project is not working HOT 3
- About NET5.0 Blazor WebAssembly Uses My.Extensions.Localization.Json HOT 14
- System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. HOT 11
- Class based localisation only works when the class is in the root namespace HOT 5
- Can you provide an core api example with DataAnnotations? HOT 2
- when using xunit test(SUT),there is an exception throwed! HOT 7
- JsonResourceManager does not dispose of (unix) File System Watches HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from my.extensions.localization.json.