Some problems with basic DotNetNuke localization methods -


i'm writing simple dnn module - using dnn 5.6.1 , working direct in vb.net source file within desktopmodules subfolder of dnn website.

to localize error message within module, i'm trying use:

dim basestring string = localization.getstring("coveringerrormessage", me.localresourcefile) 

however, returning "nothing". though me.localresourcefile seems point correct path - /desktopmodules/mymodule/app_localresources/mymodule - mymodule.ascx.resx resides, , though "coveringerrormessage" defined.

i've checked can edit resx files admin language editor.

beyond this, i've got problem addmodulemessage() not showing message - i'm wondering if there's obvious setup step i've missed.

all ideas appreciated - 1 of frustrating things @ present.

it'll coveringerrormessage.text rather coveringerrormessage. there's not . adds .test resource key.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -