Get localized topic name

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
With nop3.9 I have added a link showing the postal address in the footer. The link is not part of column 1 - 3.

<a href="@Url.RouteUrl("Topic", new {SeName = Html.GetTopicSeName("PostalAddress") })">@T("PostalAddress")</a>

When clicking the link, the content is displayed in the selected language. However, the name of the link is always "postaladdress". I have also tested with "AboutUs". The result is the same, i.e. the content is correct but the link is named "aboutus".

Any ideas?


Thank you for help.

Cheers, Thomas
6 years ago
Hello Thomas,

You can manage display name language wise in topic detail page admin side.

Thanks,
Jatin
6 years ago
iseneggert wrote:
With nop3.9 I have added a link showing the postal address in the footer. The link is not part of column 1 - 3.

<a href="@Url.RouteUrl("Topic", new {SeName = Html.GetTopicSeName("PostalAddress") })">@T("PostalAddress")</a>

When clicking the link, the content is displayed in the selected language. However, the name of the link is always "postaladdress". I have also tested with "AboutUs". The result is the same, i.e. the content is correct but the link is named "aboutus".

Any ideas?


Thank you for help.

Cheers, Thomas




Add "PostalAddress" resource string to the desired language pack, if you have multiple language pack. Otherwise search "PostalAddress" at the default language pack(www.youshope.com//Admin/Language/Edit/1) if found, change the value. Otherwise add the resource string with desired value.
6 years ago
Sina, thank you very much. This is the solution to add a resource string such as "footer.postaladdress" with the translated value.

Regards, Thomas
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.