Activities of "shaynevanasperen@gmail.com"

Yes, it was me that asked this question. Could this be reported as a bug?

Okay, thanks. I was hoping that there would be a way for me to avoid "magic" strings in my code. For example, I would rather write this:

L[MyApplicationResource.Companies.ConfirmDelete] which relies on nested static classes with const string properties,

than this:

L["Companies:ConfirmDelete"] which relies on the same "magic" string appearing in my localization JSON files.

Can somebody whos is resonsible for the commercial modules architecture/design tell me how they intend to avoid the problem of "magic" strings? A large application could easily accumulate lots of bugs over time without a way to make the localization more strongly typed. Can this be made into an official feature request?

  • ABP Framework version: v7.3.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I'd like to understand more about the language management module in ABP Commerical. I was under the impression that by using this module, I would not have to create and maintain all the language texts in JSON files. When I add some new UI which needs localization text (without specifying the values in the JSON files), then I can't see that text shown in the language texts screen, regardless of which Resource Name I am filtering by.

So I have three questions:

  1. Do I really need to define all the language texts in JSON files, and if so, can I just leave the values blank so that they can rather be defined throught the user interface and stored in the database?
  2. If I define a localization text in the JSON file and then it is updated using the language management module, how does the framework know which source to use (JSON or database)?
  3. Is there a way for me to define these localization texts in a more strongly-typed way using C# instead of JSON?

At this stage is the 1st bug: It doesn't actually open the Authority Delegation modal dialog. Instead, it simply navigates to the user account screen. See attached video:

The blazor server uses a hybrid UI, so it will navigate to the MVC UI.

I will check other problems and fix them.

So you are saying that this is by design? How can that be right? The functionality is clearly broken.

This was previously reported here: https://support.abp.io/QA/Questions/5464/Issues-when-upgrading-from-703-to-730

Showing 1 to 5 of 5 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11