13 Answer(s)
-
0
Hi,
Do you only have this localization problem with sweet alert ? And do you have any javascript error on client side ? You can check your browser's developer console.
-
0
Yes, only sweet alert has the problem and I have not any javascript error on client side.
-
0
Hi,
I have tried same scenario, downloaded a new Core project and tried to delete a user and I got the proper localized message on sweet alert dialog.
Can you share your project with us via email ?
-
0
what is your email address? I have this issue when creating new language and set it as default. I tried to add english language again, but when I change text for key AreYouSure. The title for sweet alert is not updated.
-
0
Hi,
Please send your project and your DB backup to <a href="mailto:[email protected]">[email protected]</a>.
-
0
Hey,
I sent to you an email with my project and backup database yesterday. Can you reproduce the isue?
-
0
Hi,
Sorry for the late response. I have restored your database and runned the project and sweet alert worked for me. But, I have found another strange problem which might be related to your case.
When we add a new language to the system, we cannot switch to that language. I'm still working on it but I think it will solve your problem.
By the way, did you deleted the default language (English) in your tests and added it again ?
-
0
No, I did not delete default language. I've just added new language and set it as default. I've tried to run the project which I downloaded from the start, then tried to change text for key AreYouSure to "test", but sweet alert still display as "Are you sure?".
-
0
Is there any updates? Did you try to change text of key "AreYouSure"? And it still shows "Are you sure?", since this text is gotten from other source.
-
0
Hi,
I was able to take a look at this issue. According to ASP.NET Core design, it seems like we need to provide a supported language list in the application startup. If we add a new language, applicaion must be restarted.
You can find the comment about this issue here <a class="postlink" href="https://github.com/aspnet/Localization/issues/111#issuecomment-209539299">https://github.com/aspnet/Localization/ ... -209539299</a>.
We will try to find a way to do this without an application restart. I will let you know when we done it.
In the mean time, can you try your scenario according to this info.
Please follow these steps
- Add a language
- Restart the application.
- Change texts and see if it works in sweet alert
Thanks.
-
0
I tried to reproduce with your steps but it stills "Are you sure?", no matter what I've changed in database or xml files.
-
0
Hi,
I have send you an email about this issue, did you get it ?
-
0
I received the email and responded. Sorry for late reply.