Comments (6)
Hi @garfieldos I use the Key and the localizationculture as a constraint, because I assumed that it makes no sense to repeat this translation, the bank transfer is the same, just used from 2 different controllers, views.
I was thinking this would make more sense as a shared resource.
Maybe it would be better if I used the resourcekey also in the constraint, then the user of the package can decide.
If you want, I can add this, I also need to update to 1.1.
Opinion?
Greetings Damien
from angularlocalizationaspnetcore.
One key for all resource would be good, if there will be some possibility to reach this translation withot resourcekey context (without view/controller context).
Now we are using Localizer object with view/controller context and in all that contextes it should be a possibility of using this same translation keys (because their meaning could differ across different contextes).
I think, that it should be composite key on columns: Key ,ResourceKey and localizationCulture (of course sense of column name: "key" will be lost after this change)
from angularlocalizationaspnetcore.
@garfieldos makes sense, I'll make the constraint using all 3 properties. The key still makes sense for me, as this is the key without the resource.
Will update this ASAP. (also only with .NET 1.1) I want to move on from 1.0. Is this ok, or do you require the fix for .NET Core 1.0?
Greetings Damien
from angularlocalizationaspnetcore.
1.1 will be ok for me.
Thx
from angularlocalizationaspnetcore.
@garfieldos
Updated NuGet:
https://www.nuget.org/packages/Localization.SqlLocalizer/1.0.4
from angularlocalizationaspnetcore.
Thx a lot!
from angularlocalizationaspnetcore.
Related Issues (7)
- Upgrading to Angular 2 Release Candidate HOT 8
- Use webpack for the UI build HOT 9
- Server prerender HOT 1
- Update to .NET Core 1.1 HOT 1
- Update to angular-l10n HOT 2
- Projects not running 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 angularlocalizationaspnetcore.