简体   繁体   中英

Can I add localization resources (*.resx) to a .net-core app after it was built?

I've read through all of this:

.net-core localization fundamentals article from Microsoft

But I'm not sure if resource-files for usage with globalization can only be used if all targeted translations are present prior to the build of the application.

Can I add resources after the build so that I could serve additional language-packs to my customers with this resource-file-system?

Yes, you can. The term that seems important here is Satellite Assemblies and the articles about it are sparse.

This is an article that describes it for full-stack (from 2011):

Introduction to Satellite Assemblies by Andy Gonzales

Here is an article that describes it for .net-core (newer):

Globalization and localization in ASP.NET Core ~ Technical Insanity

If someone has better material for understanding the procedure, please append them. I will try this out and post an update with details in the future.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM