Base solution for your next web application
Open Closed

Localization DB #949


User avatar
0
damir created

I am having problem with the localization in the AspNet Zero project I am using for my application.

My plan is to use the @L() helper for localizing the MVC views I am using in the single page Angular App. My plan was to use first the @L() with a new text key and then go to Application#/languages/texts/en the UI and enter the translation for the newly used text.

Here is a printscreen of my source code and how it looks in the app: <a class="postlink" href="https://gyazo.com/0242c8fcfd5c4384f0109d59519e1a36">https://gyazo.com/0242c8fcfd5c4384f0109d59519e1a36</a>

The problem is now that I don't find the new key "languagesTest" in the UI for editing the texts.

Is my approach possible? What am I missing?

Do I need to have a XML localization file?

Regards, Damir


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

    Hi,

    Yes you need a xml localization file. Please take a look at "Getting A Localized Text" section of localization documentation <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/Localization">http://aspnetboilerplate.com/Pages/Docu ... calization</a>.