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

Multi-Tenant Language Customization #10067


User avatar
0
QuickApp created
  • What is your product version? v10.2.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version? v10.2.0

Hi everyone,

I want to add custom language add and delete feature for multi tenant. Can you help me how to do this?

Thanks.


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

    Hi @QuickApp

    As I understand, you want Tenants to add/delete languages. We deleted this feature on purpose becasue when a Tenant adds or deletes a language, the app must be restarted. This is required because of a restriction of ASP.NET Core.

    If you want, you can go to source code of language list page and remove the condition from add new langauge button.

  • User Avatar
    0
    QuickApp created

    Hi @ismcagdas

    As you said, I removed the authorization restriction, thank you.

    Now I'm trying to add some languages by default for new tenant registration. (Turkish, English etc.)

    But I was not successful, I would like your help in this matter too.

    Best regards..

  • User Avatar
    0
    ismcagdas created
    Support Team
  • User Avatar
    0
    QuickApp created

    Hi,

    Maybe I didn't understand what you said, sorry :)

    This database is running when it is being created for the first time. (saves tenantId as null) I want to add a few default languages like default roles every time a tenant is created.

    Thanks.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @QuickApp

    Just like static roles, this class should be executed when you create a new tenant with a separate database. Did you try it ? If so, could you share the result ?