GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

(Guidance 2022.2.1.14) DE targeting Blazor web app generated code does not contain DE resource files #240

Open HaGGi13 opened 5 months ago

HaGGi13 commented 5 months ago

Describe the bug

A new generated Blazor web app targeting environment Germany generated contains EN and FR resource files, but no DE resource files. In concrete following are listed added resource files by the Guidance for a Blazor web app that was generated for the environment Germany:

C:\MYPROJECT\FE\WEBAPP\WEBAPP\PAGES
¦   About.razor
¦   Authentication.razor
¦   Index.razor
¦   Unauthorized.razor
¦
+---Resources
        About.Designer.cs
        About.en.resx
        About.fr.resx
        About.resx
        Global.Designer.cs
        Global.fr.resx
        Global.resx

I didn't verified this for Belgium targeting projects, but I expect the same behavior there too.

To Reproduce

TL;DR - Steps to reproduce the behavior

  1. Generate a fresh Blazor web app within a project

Super detailed - Steps to reproduce the behavior:

  1. Generate empty solution incl. YARP targeting environment DE
  2. Generate Blazor web app

Expected behavior

It's expected to have a file About.de.resx and Global.de.resx generated/added to the Blazor web app, if the target environment DE was selected on generation. In addition it would be consistent, to have a Global.en.resx within the Resources folder too, because this file is missing.

In general, a consistent result is expected.

Desktop (please complete the following information)

rdarko commented 5 months ago

We want to consult @HaGGi13 to make translations for us.

HaGGi13 commented 5 months ago

Hello, okay, please provide all resource files that are added during the code generation for all scenarios and project types and I will translate them.

GFlisch commented 4 months ago

Will check if we can do it on the fly. But i think well. If yes, will be managed directly.