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

Where is AbpZero.xml file in ASP.NET ZERO #1678


User avatar
0
moustafa created

Hello i tried to find localization file of module zero AbpZero.xml that contains some messages translation like Identity.DuplicateName , Identity.DuplicateEmail etc i checked this link but i can't find this file in my project [https://github.com/aspnetboilerplate/module-zero/blob/dev/src/Abp.Zero/Zero/Localization/Source/AbpZero.xml#L11])

actually i tried also to add these lines in my localization sources but it didn't work

<text name="Identity.DuplicateName" value="UserName already used" />
    <text name="Identity.DuplicateEmail" value="Email Address already used" />

2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    It's embedded in Abp.Zero.dll, so your solution does not include it's source code. But ABP allows you to extend built-in localization sources easily as described here: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Localization#DocExtending">http://www.aspnetboilerplate.com/Pages/ ... cExtending</a> Abp.Zero.dll's localization source name is a constant defined here: <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/blob/dev/src/Abp.Zero/Zero/AbpZeroConsts.cs#L8">https://github.com/aspnetboilerplate/mo ... nsts.cs#L8</a>

  • User Avatar
    0
    moustafa created

    Thank you