0
klainer created
Hello, how locallize sweet alerts buttons ? I found in code this:
abp.event.on('abp.dynamicScriptsInitialized', function () {
abp.libs.sweetAlert.config.confirm.title = abp.localization.abpWeb('AreYouSure');
abp.libs.sweetAlert.config.confirm.cancelButtonText = abp.localization.abpWeb('Cancel');
abp.libs.sweetAlert.config.confirm.confirmButtonText = abp.localization.abpWeb('Yes');
});
Where are this rosources ? In Localization AbpWeb resource is missing... Thnaks for help !
4 Answer(s)
-
0
Have you checked embedded resources in Abp.Core?
Also check: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Localization">http://www.aspnetboilerplate.com/Pages/ ... calization</a>
-
0
I checked this document, tried this:
Configuration.Localization.Sources.Extensions.Add( new LocalizationSourceExtensionInfo("AbpWeb", new XmlFileLocalizationDictionaryProvider( HttpContext.Current.Server.MapPath("~/Localization/AbpWebExtensions") ) ) );
And overide the names in resource file, but it dont work.
Thnaks for tips!
-
0
Hi,
Can you create an issue on the Github, so I will check it.
Thanks.
-
0
I fixed it. See: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/670">https://github.com/aspnetboilerplate/as ... issues/670</a>