CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.resources Tags:
Item Type: NewsGroup Date Entered: 8/19/2005 8:01:02 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
nagscreen
Asp.Net User
How to localize strings from a non visual class8/19/2005 8:01:02 PM

0/0

Hi,

Does anyone know how should/could I localize strings from a non visual class?
i.e writing a mail from a scheduled task or form a module controller class

thanks in advance!
nagscreen
Asp.Net User
Re: How to localize strings from a non visual class8/19/2005 8:44:06 PM

0/0

I mean, which is the right way to get the LocalResourceFile of the module where the class belongs?
vmasanas
Asp.Net User
Re: How to localize strings from a non visual class8/24/2005 6:02:17 AM

0/0

DNN provides a way to centralize all those strings that are not directly related to any UI class: SharedResources.resx.

There's a global SharedResources.resx (used in core code) and you can define a SharedResources.resx on your local resource folder of all your modules.


nagscreen
Asp.Net User
Re: How to localize strings from a non visual class8/24/2005 4:56:54 PM

0/0

Hi Vicen?, 
Thanks for your post. 
 
I was trying to make it work but I couldn't. 
I've tried things like: 
   Localization.GetString("whatever") 
   Localization.GetString("whatever", Localization.SharedResourceFile) 
   Localization.GetString("lblHostTitle.Text", Localization.LocalResourceDirectory & "/" & Localization.SharedResourceFile) 
 
Debugging the code I see that always tries to get the string form the main SharedResources.resx. 
How should I tell DNN to look for the one on my App_LocalResources\SharedResources.resx? 
I've also tried a App_GlobalResources\SharedResources.resx 
 
Also, I see that a "Dim objPortalSettings As PortalSettings" is always required. 
I need to localize a mail sent from a scheduled task. The problem is that I cannot find a way to get a PortalSettings from a scheduled task since there's no HttpContext to work with. 
How could / should I resolve this? 
 
Thanks in advance!
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Developing and Implementing Web Applications with Visual Basic .NET and Visual Studio .NET: Exam Cram 2, 70-305 Authors: Kirk Hausman, Mike Gunderloy, Ed Tittel, Pages: 624, Published: 2003
Visual Basic 2005: How to Program Authors: Harvey M. Deitel, Pages: 1513, Published: 2006
Handbook of Psychophysiology Authors: John T. Cacioppo, Louis G. Tassinary, Gary G. Berntson, Pages: 898, Published: 2007
Fundamental Neuroscience Authors: Larry R. Squire, Susan K. McConnell, James L. Roberts, Michael J. Zigmond, Nicholas C. Spitzer, Pages: 1426, Published: 2002
Visual Basic 2005: The Complete Reference Authors: Ron Petrusha, Pages: 874, Published: 2006
Visual Selective Attention: A Special Issue Of The Journal Visial Cognition Authors: H. Bundesen, Pages: 0, Published: 1998
A Practical Guide to Localization Authors: Bert Esselink, Pages: 490, Published: 2000
Visual C# 2005: How to Program Authors: Harvey M. Deitel, Paul J. Deitel, Pages: 1591, Published: 2006
Technology of Object-oriented Languages, Systems and Architectures Authors: Theo D'Hondt, Pages: 231, Published: 2003

Web:
How to localize strings from a non visual class - ASP.NET Forums Re: How to localize strings from a non visual class ... Re: How to localize strings from a non visual class ...
Optimize string handling in Visual Basic 6.0 - Part II CStr returns a localized string, while Str$ returns a non-localized one. ..... VB6 lacks a StringBuilder class for the creation of large strings. ...
MSDN Visual Studio Code Analysis and Code Metrics We want your ... Specifying xs:byte as field type in a XML-schema generates non-compliant STDs. ... A strongly-typed resource class, for looking up localized strings, etc. ...
CodeProject: Locale support in the Visual Component Framework ... Apr 12, 2006 ... The last key feature of the Locale class is translating a string ID into its localized version. You might have the string "Hello" and wish ...
What is „Software Localization“ How Visual Localize helps the Software Development. Company. •. Faster time to Market for the non-localized software: Because. Visual Localize allows ...
Visual word processing and experiential origins of functional ... Thus, the WvD ROI also exhibits some selectivity for digits strings and Hebrew words even in non-Hebrew readers possibly due to their visual similarity to ...
ModelMaker Code Explorer for Visual Studio Features Convert class methods or local procedures to module procedures and vice versa with copy ... Show / Hide non-visual components (Delphi Win32 designer only). ...
// This code was generated by a tool. // Runtime ... ... A strongly-typed resource class, for looking up localized strings, etc. ... the StronglyTypedResourceBuilder // class via a tool like ResGen or Visual ...
Sisulizer - for visual software localization » De Culturis Mundi When it comes about translating, coders and authors of non-open source scripts will love ... 2 Responses to “Sisulizer - for visual software localization” ...
Regular Expression Library What's New Localization of syntax and error messages. Locale models. For Visual C++ 6, events can now be handled by non-static member functions, giving it the same ...

Videos:
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal Interaction....
Developing JavaScript with Chickenfoot Google TechTalks July 25, 2006 Rob Miller Michael Bolin ABSTRACT Chickenfoot is a Firefox extension that embeds a JavaScript programming environmen...




Search This Site:










tfs problems and vsts project creation

file system access only works on webserver

migrating from coldfusion to .net

create category for albums in c#

forms auth & cross site logins

efficion articles module how to ascend/descend?

treeview navigation

error running tabstrip control

iidentity&iprinciple

dnn

hosting, domain forwarding/cloaking?!

sitemap spacing

restrict access to file

stylesheet theme set in web.config, want to skip a few files though

creating roles dynamically...

linkage from 2 drop down tables?

html/text help

building module dnn2

just noticed this. does this happen to others? announcements module ignores any containers

master page url rebasing/location problems

help!

css friendly menu adapter renders as tree view

create a new commerce portal

error initalizing dataprovider

asp.net 2.0: a step backwards

using profilecommon

windows 2003 & dnn problems

skin and container settings disappear

which type of authentication?

beta 2 - toolbox bug with custom control

 
All Times Are GMT