Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

@("Test".Localize())
Cesiwa
#1 Posted : Wednesday, November 23, 2011 10:34:54 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 11/22/2011(UTC)
Posts: 4
Location: sweden
Hi!

In the module sample (version 3.0.1.0) you are using the "@("News".Localize())" in the news.cshtml

But I cannot get the string to be localized. It never shows up under the labels menu.

If I add a Label to a view and reload the fron end page it adds under the labels manu.

Does not localize work from a module?
jifeng
#2 Posted : Thursday, November 24, 2011 1:25:19 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
HI

You need to use: @("News".Label())
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.037 seconds.