Open Closed

About Localization #1630


User avatar
0
gvnuysal created
  • ABP Framework version: v4.3.3

  • UI type: Angular

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular):no
    Hi support,
    I have 2 question:

  1. language.jpg
    I am authorized to everything, but I cannot see the buttons related to the actions.

  2. tenantLocalization.jpg
    How can I translate the red area into Turkish? I could not find the localization key information.
    Our login screen is the custom login page.

Thanks your answer.


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I am authorized to everything, but I cannot see the buttons related to the actions.

    Can you confim your current user permissions?

    Our login screen is the custom login page.

    Please share your code of login page.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    About question 1:

    See https://support.abp.io/QA/Questions/1571/Can-edit-language-Texts-only-as-host-admin-not-possible-as-tenant-admin

    For now, you can try:

    Find default-language-texts-entity-actions.ts and replace LanguageManagement.Languages.Edit to LanguageManagement.LanguageTexts.Edit

  • User Avatar
    0
    gvnuysal created

    Hi @maliming

    
    using Microsoft.AspNetCore.Authentication;
    using Microsoft.AspNetCore.Identity;
    using Microsoft.Extensions.Options;
    using Owl.reCAPTCHA;
    using Volo.Abp.Account.ExternalProviders;
    using Volo.Abp.Account.Public.Web;
    using Volo.Abp.Account.Public.Web.Pages.Account;
    using Volo.Abp.Account.Security.Recaptcha;
    using Volo.Abp.Security.Claims;
    
    namespace AbpView.Pages.Account
    {
        public class CustomLoginModel : LoginModel
        {
            public CustomLoginModel(IAuthenticationSchemeProvider schemeProvider, IOptions accountOptions, IAbpRecaptchaValidatorFactory recaptchaValidatorFactory,
                IAccountExternalProviderAppService accountExternalProviderAppService, ICurrentPrincipalAccessor currentPrincipalAccessor, IOptions identityOptions, IOptionsSnapshot reCaptchaOptions) : base(schemeProvider, accountOptions, recaptchaValidatorFactory, accountExternalProviderAppService, currentPrincipalAccessor,identityOptions,reCaptchaOptions)
            {
            }
        }
    }
    
    
    @page
    @using Microsoft.AspNetCore.Mvc.Localization
    @using Volo.Abp.Account.Localization
    @using Volo.Abp.Account.Settings
    @using Volo.Abp.Settings
    @model AbpView.Pages.Account.CustomLoginModel
    @inject IHtmlLocalizer L
    @inject Volo.Abp.Settings.ISettingProvider SettingProvider
    @using Microsoft.Extensions.Configuration
    @inject IConfiguration Configuration
    
     
    
    
    

    @L["Login"]

    @if (await SettingProvider.IsTrueAsync(AccountSettingNames.IsSelfRegistrationEnabled)) { @L["AreYouANewUser"] @L["Register"] } @if (Model.EnableLocalLogin) {
    @L["ForgotPassword"] @L["Login"] @if (Model.ShowCancelButton) { @L["Cancel"] } } @if (Model.VisibleExternalProviders.Any()) {
    @foreach (var provider in Model.VisibleExternalProviders) { @provider.DisplayName }
    } @if (!Model.EnableLocalLogin && !Model.VisibleExternalProviders.Any()) {
    @L["InvalidLoginRequest"] @L["ThereAreNoLoginSchemesConfiguredForThisClient"]
    }
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    See https://support.abp.io/QA/Questions/1630#answer-9df23f97-dc74-a2b2-702c-39fdf9ec5d3b

    AreYouANewUser belongs open-source account module instead of account pro module.
    https://github.com/abpframework/abp/search?q=AreYouANewUser

    Your tenant name we forgot to translate this, I will do it in 4.4.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    abp/lepton-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton/Themes/Lepton/Layouts/Account/Default.cshtml

    image.png

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08