bazel-contrib / bazel-contrib/rules_dotnet
Support for localization
- Dominant language
- Starlark
- Stars
- 209
- Forks
- 98
- Avg merge
- 3h 59m
- Merged PRs (30d)
- 14
Description
I was hoping localization was supported by registering .resx as resources in a csharp_library. This does include the .resx files as embedded resource, but the standard .NET compiler compiles these files to .resource files and adds those add embedded resource. Any ideas on how to support localization?
An option would be to have a rule for generating the .resource files from the .resx files. Unfortunately the tool for this (resgen.exe) is only available on windows. For other platforms this can only be done with the standard .NET compiler.
Contributor guide
Research direction
Start by examining how csharp_library handles .resx files as embedded resources and how the standard .NET compiler produces .resource files. Compare the cross-platform compiler path with the Windows-only resgen.exe approach. Done means localization resources are generated and embedded in the form expected by standard .NET compilation on supported platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, localization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100