Base solution for your next web application
Open Closed

Steps to add a new language translations? #3743


User avatar
0
bilalhaidar created

Hello,

How to add a new language translations? Just add a new .xml file with the language code at the end similar to what you have done?

Is there a way also to separate my translations into another folder and rerference them in the project? This makes upgrading to newer version of the framework easier.

Thanks


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

    Hi @bilalhaidar,

    Yes, you can just copy an existing xml file (english is better) and change it's values. Localization XML files must be marked as embeded resources, if you copy an existing file, it will be like that.

    You can modify AbpZeroTemplateLocalizationConfigurer.cs if you like to move localization files into another folder.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    Thanks for taking the time to answer my post. It is understood now.