I am writing a ASP.Net Core 2.2 Web Api and now I got the request to support multiple languages (de, en) for the description of our products. What is the best practice for this scenario?
I now read a lot about resx files and this documentation 2 times: https://learn.microsoft.com/de-de/aspnet/core/fundamentals/localization?view=aspnetcore-2.2, but then I also read this post (https://stackoverflow.com/a/10533904/11049948), which says I should just include multiple columns (for each language) for the descriptions in my database.
Now what is the best practice, to
Store the descriptions in multiple languages
Get the right Description from a request
To clarify the question:
By products are meant usual products (like for example clothes). In the frontend (Angular), Admins should be able to edit/create products => Products are dynamic. I haven't really understood when to use resx files (Only for static content, which is not the case here?). Is it now best practice to have those 2 columns in the Product table: Description_DE, Description_EN? What would I do with more than 2 languages?
I hope this clarifies the question...