aksoftware98/multilanguages

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

aksoftware98 opened this issue · 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>