letter casing problem when adding a new topic to Infoblock.cshtml

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
I have added a new topic in the admin section which has the following system name and title:

System name: TheCompany
Title: The Company

In Infoblock.cshtml I have added the following code:

<li><a href="@Url.RouteUrl("Topic", new { SystemName = "TheCompany" })">@T("TheCompany")</a></li>

Still the name displayed in the information section is 'thecompany'. When modified @T("TheCompany") to @T("The Company") it displayed as 'the company' ignoring the letter casing.

My question is: How can I display the link text  as 'The Company' in the information section.

Your help is much appreciated.
10 years ago
When you write @T("TheCompany") that means "TheCompany" - is the name of a local resource. To displayed this local resource correctly, you will need to create it on the page

http://admin-demo.nopcommerce.com/Admin/Language/Resources?languageId=2

where Resource name - TheCompany, Value - The Company.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.