Closed trickshot2012 closed 2 years ago
if you put all resx files of many languages in the pages folder along with your razor page files, the whole thing starts to look a little confusing, i tried putting it in a resx subfolder pic 2 - than its not working anymore.
1
2
i finally figured out 👍
in Program.cs add the options.ResourcesPath builder.Services.AddLocalization(options => options.ResourcesPath="Resources");
builder.Services.AddLocalization(options => options.ResourcesPath="Resources");
the folder structure than:
if you put all resx files of many languages in the pages folder along with your razor page files, the whole thing starts to look a little confusing, i tried putting it in a resx subfolder pic 2 - than its not working anymore.
1
2