multilanguages icon indicating copy to clipboard operation
multilanguages copied to clipboard

Generate a static class with all keys to avoid using strings to access the keys

Open aksoftware98 opened this issue 3 years ago • 0 comments

With this new feature, every time the user builds the project, the library should generate a C# static class that contains all the keys as static properties, so no need to use strings explicitly. The result must be something like this:

Before

 <h2>@Language["Home:Title"]</h2>

After

<h2>@Language[LanguageKeys.Home.Title]</h2>

aksoftware98 avatar Oct 05 '22 06:10 aksoftware98