Activities of "liangshiwei"

https://zoom.us/j/97510463730?pwd=Wlp0MlBETENZcEIzeDZUS3pjZzFxQT09

Hi,

The language management resource is LanguageManagementResource.

The Localization key for language menu is 'Menu:Languages'

The Localization key for Search is Search

The Localization key for Actions is Actions

I can't build the project you provided

Hi,

shiwei.liang@volosoft.com

Hi,

Please share the project with me, I will check it. shiwei.liang@volosoft.com

H

But 2-3 keys values are not translating so for this I tried a lot but still, those values are coming into the English language

Which keys?

Can we add a Language page to a project

Sorry, I didn't get it, can you explain it in detail?

Hi,

I will check it.

I then edit the EditionEndDateUtc on the database but still no work

Please try update the AbpRefreshEditionIdFilter:

public class AbpRefreshEditionIdFilter : IHubFilter
{
    public virtual async ValueTask<object> InvokeMethodAsync(HubInvocationContext invocationContext,
        Func<HubInvocationContext, ValueTask<object>> next)

    {
        var currentTenant = invocationContext.ServiceProvider.GetRequiredService<ICurrentTenant>();
        var currentUser = invocationContext.ServiceProvider.GetRequiredService<ICurrentUser>();

        if (!currentUser.IsAuthenticated || !currentUser.TenantId.HasValue)
        {
            return await next(invocationContext);
        }

        var tenantStore = invocationContext.ServiceProvider.GetRequiredService<ITenantRepository>();
        var currentPrincipalAccessor = invocationContext.ServiceProvider.GetRequiredService<ICurrentPrincipalAccessor>();
        var tenant = await tenantStore.FindAsync(currentTenant.GetId());
        var claims = currentPrincipalAccessor.Principal.Claims.ToList();

        var editionId = tenant.GetActiveEditionId();
        if (editionId != null)
        {
            claims.ReplaceOne(x => x.Type == AbpClaimTypes.EditionId,
                new Claim(AbpClaimTypes.EditionId, editionId.Value.ToString()));
        }
        else
        {
            claims.RemoveAll(x => x.Type == AbpClaimTypes.EditionId);
        }

        using (currentPrincipalAccessor.Change(claims))
        {
            return await next(invocationContext);
        }
    }
}

You need to custom a repository.

public class MyIdentityUserRepository : EfCoreRepository<IIdentityDbContext, IdentityUser, Guid>, IMyIdentityUserRepository
{
    //.....

    public async Task GetCreatorNamesAsync(Guid creatorId)
    {
        var dbContext = await GetDbContextAsync();
    
        var creatorNames = await (from creator in dbContext.Set<IdentityUser>()
            join user in dbContext.Set<IdentityUser>() on creator.Id equals user.CreatorId
            where user.CreatorId == creatorId
            select creator.Name).ToListAsync();
    }
}

Hi,

if I understand correctly, are you looking for something like this?

private readonly IRepository<IdentityUser, Guid> _identityUserRepository;

public async Task GetUserNamesByCreatorId()
{
    var userNames= (await _identityUserRepository.GetListAsync(x => x.CreatorId == ...)).Select(x => x.UserName);
}
Showing 5241 to 5250 of 6693 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.