Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HaGGi13 opened this issue May 7, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@HaGGi13
Copy link

HaGGi13 commented May 7, 2024

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)

  • .NET SDK v8.0.200
  • Guidance v2022.2.1.14
  • Arc4u v8.1.0
@HaGGi13 HaGGi13 changed the title (Guidance 022.2.1.14) DE targeting Blazor web app generated code does not contain DE resource files (Guidance 2022.2.1.14) DE targeting Blazor web app generated code does not contain DE resource files May 7, 2024
@rdarko rdarko added the help wanted Extra attention is needed label May 8, 2024
@rdarko
Copy link
Collaborator

rdarko commented May 8, 2024

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

@HaGGi13
Copy link
Author

HaGGi13 commented May 9, 2024

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
Copy link
Owner

GFlisch commented Jun 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants