Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

AreYouSure in popups translation not working #5571


User avatar
0
kevinfarrow created

The text "AreYouSure" in the popups is not being translated (see attached screenshot). I found a few previous posts mentioning this problem but each time there has been no details on how to fix it. Help!


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @KevinFarrow,

    Could you also share your AspNet Zero version ?

  • User Avatar
    0
    kevinfarrow created

    Version is v5.3.0.0 [20180903]

  • User Avatar
    0
    alper created
    Support Team

    is it the same as yours <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/510">https://github.com/aspnetzero/aspnet-ze ... issues/510</a>

  • User Avatar
    0
    kevinfarrow created

    <cite>alper: </cite> is it the same as yours <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/510">https://github.com/aspnetzero/aspnet-ze ... issues/510</a>

    It does look the same but the reply says "You can send a PR for your language..." what is a PR? and if I knew what it was, who do I sent it to?

    "or you can register to 'abp.dynamicScriptsInitialized' in one of your script files (include it after abp.sweet-alert.js) and use any localization source you like." - not sure what this means either? what do I register? is there any example code I could use?

    Also it says "Since this is related to ABP framework, I'm closing it." - For me the underlying problem might lie within the ABP framework but this is directly related to my ASP.Net Zero system.

    I can only assume it is something to do with us using a new xml language file for the UK. The standard English xml file is for the US.

    Any help would be much appreciated.

  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, the PR mentioned in the issue refer to Pull-Request on github. Since aspnetboilerplate is open source, anyone can submit a pull request to include the localization for their language if necessary.

    You can refer to the following for registration to abp.dynamicScriptInitialized <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/test/aspnet-core-demo/AbpAspNetCoreDemo/wwwroot/Abp/Framework/scripts/libs/abp.sweet-alert.js#L104-107">https://github.com/aspnetboilerplate/as ... s#L104-107</a>