What would be the best strategy to internationalize a system in the DDD architecture, knowing that we have strings to internationalize in the layers:
What would be the best strategy to internationalize a system in the DDD architecture, knowing that we have strings to internationalize in the layers:
I think the best way is to use the Resource DLLs, one for each language you want, then only handle the calls to use the right culture, if it is Asp.NEt core, you have an example in the abiaxo link, ach is a very complete example:
Hello friends, after investing some time in research, I solved my internationalization problem by creating a CrossCutting layer, where through the layers I internationalize my entire project, ie, I can internationalize my Views ), ViewModel (Application layer), validation messages, specifica - tions, etc. (Domain Layer).
Taking advantage of this, I created a tool that automates the whole process of creating the layers (except for my Views), based on queries in the database, that is, to perform a simple Crud in DDD, I have about 18 files where they are generated in just one click. I will in the future make it available to help the developer community