Hi @JStus ,
First you need to put Company.resx and Company.Fr.resx in the Resources folder, then add the reference of the Resource project to the Web project.
In _Layout.cshtml, add a using statement at the top of the page:
@using mvcdemo1.Resources
Then replace the string that needs to be replaced:
@Html.ActionLink(Company.SomeValue, "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.