Localizer package for Asp.Net Core web applications, powered by online translation and auto resource creating.
New option LocalizeDefaultCultre: Use to enable/disable localizing default culture (fixes #19 )
Removed deprected property UseExpressValidationAttributes. For latest setup see Localizing Validation Attribute Errors
TranslateFromCulture
Hotfix
Improvements
XLocalizer
thanks to using the standard localization interfaces IStringLocalizer
and IHtmlLocalizer
. The only code change is in startup.[Required]
will generate a localized error message.Notice for preview users
Ex valdiation attributes are deprected, there is no need to use Ex attributes, just replace with the default attributes, and no need to provide error message inside the attribute tags
See all docs: https://docs.ziyad.info/
TranslateFromCulture
property to specify the source culture to translate from, if not specified default culture will be used.XLocalizerOptions
or Json See https://docs.ziyad.info/en/XLocalizer/v1.0/setup-json.md.Deprected:
See all docs: https://docs.ziyad.info/en/XLocalizer/v1.0/index.md
fixes #2
Localizer package for Asp.Net Core web applications, powered by online translation and auto resource creating.
Say bye-bye to manually creating localization resources...!
- Online Translation : Auto translation of missed localized values.
- Auto Key Adding : Auto adding missing keys to the resources files.
- Multiple Resource Type Support : Built-in localization support based on .RESX, .XML, DB. Extendable localization support based on any custom file/db type.
- Export to Resx : Resources from any source type can be exported to .RESX files via built-in exporters.
- Do it Fast : Custom cache support for speeding up the process of getting localized values from sources.
- Standard interfaces : Easy to use due to using the standard localization interfaces: IStringLocalizer
, IHtmlLocalizer
, IStringLocalizerFactory
and IHtmlLocalizerFactory
.
For all documentations visit: DOCS.Ziyad.info