-
Notifications
You must be signed in to change notification settings - Fork 266
NuGet Localization Design
Design a localization strategy for NuGet package authors.
Currently NuGet does not provide a strategy for shipping localized version of package for transitive project systems.
We do have official strategy for Packages.Config project documented here.
As part of sprint task we discussed the following strategies for creating localized packages -
- Include all localized resources assemblies in a single package.
In this scenario, all the satellite assemblies can be part of the same package -
lib
└───target_framework
│ Code.dll
│
├───culture_1
│ Code.resources.dll
│
└───culture_2
Code.resources.dll
- Create separate localized satellite package with all satellite assemblies.
In this scenario, all the satellite assemblies can be part of the new package which will deliver all the satellite assemblies as the pay load and will contain a package reference to the original package-
lib
└───target_framework
│ Code.dll
│
├───culture_1
│ Code.resources.dll
│
└───culture_2
Code.resources.dll
- Create separate localized satellite packages, one for each localization culture.
In this scenario, all the satellite assemblies can be part of the same package -
lib
└───target_framework
│ Code.dll
│
├───culture_1
│ Code.resources.dll
│
└───culture_2
Code.resources.dll
Check out the proposals in the accepted & proposed folders on the repository, and active PRs for proposals being discussed today.