dotnet / dotnet/docs

Set Language for Generated Resource Class File

Open
#18,553 1 comment 1 reaction 0 assignees View on GitHub
:mag: Needs Research dotnet-framework/svc waiting-on-feedback
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

How can I set the language in which the comments are going to be generated on the Resource Class?

For example, using the tool like this:
resgen Fields.User.resx Fields.User.resx /str:c#,ContosoUniversity.Resources,Fields_User,Fields.User.Designer.cs -publicClass

Generates the Fields_User class as expected, but the comments on the file are in a different language than when automatically generated by Visual Studio.

Ex:
-- Fields_User generated by command
// <auto-generated>
// O código foi gerado por uma ferramenta.
// Versão de Tempo de Execução:4.0.30319.42000

-- Fields_User generated by Visual Studio
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: ca615e09-87ba-5a58-0abd-4aa805dbde2f
* Version Independent ID: f3091c7b-7e0c-d209-e8d4-426672423ed1
* Content: [Resgen.exe (Resource File Generator)](https://docs.microsoft.com/en-us/dotnet/framework/tools/resgen-exe-resource-file-generator#Strong)
* Content Source: [docs/framework/tools/resgen-exe-resource-file-generator.md](https://github.com/dotnet/docs/blob/master/docs/framework/tools/resgen-exe-resource-file-generator.md)
* Product: **dotnet-framework**
* GitHub Login: @tdykstra
* Microsoft Alias: **tdykstra**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.