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 > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 8/18/2004 10:51:50 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 38 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
sharpey
Asp.Net User
WebPart Localization8/18/2004 10:51:50 AM

0/0

Hi

I've been playing with the use of satellite assemblies for localization of my custom webparts (specifically the WebPartZone CloseVerb/MinimizeVerb.Text properties). Is this a recommended approach, or should I be deferring this to the page developer? The reason that I ask is that I cannot get the satellite assemblies to be picked up by the ResourceManager that I create; I'm pretty sure that I have the correct resource naming convention in place and that the folder structure for the resource dll's is valid. If anyone know of a demo/walkthrough for this kind of solution please post. :o)

On the subject of deferral, if the page developer using my web part localizes his page, I would want, for example, the CloseVerb to come from the same resource entry for each instance of the web part on the page. I *don't* want the same string being read from multiple locations within a resource file. Can I provide the developer with a central repository of resource strings in a similar way to the early-bound page localization technique provided in Whidbey?

I've found documentation on localization of web controls in VS2005 very scarce, so if anyone can point me to some articles or code I'd really appreciate it.

Thanks,
Chris

Fredrik N
Asp.Net User
Re: WebPart Localization8/18/2004 11:20:00 AM

0/0

I should recommand you to read about the new localization feature:

Take a look at this post on my blog and this post
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
sharpey
Asp.Net User
Re: WebPart Localization8/18/2004 1:36:11 PM

0/0

Thanks Fredrik.

However, I'm referring to a class library project rather than a website project, which doesn't benefit from the "special" treatment of the Resources folder - well not as far as I can tell anyhow. Instead I get a Resources.resx file in the Properties folder as part of the class library project template. Does this work in the same way, i.e. can I type:


Properties.[resourceFilename].[resourcedPropertyName]


... from code blocks inside the assembly? I can't get this to work though - all I get is Properties.Settings.

Finally, from the approaches mentioned on your blog entries, am I to understand that I shouldn't even be trying to localize controls at their assembly level, and leaving it to the page (and web app) level?

Thanks again,
Chris

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0: A Developer's Notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
Building Applications with Microsoft Outlook Version 2002 Authors: Randy Byrne, Microsoft Press, Pages: 882, Published: 2001
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
ASP.NET 2.0 All-In-One Desk Reference For Dummies: all-in-one desk reference for dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006
Essential SharePoint: Microsoft Office Document Collaboration in Action Authors: Jeff Webb, Pages: 310, Published: 2005
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Pro Sharepoint 2007 Development Techniques Authors: Margriet Bruggeman, Nikander Bruggeman, Pages: 484, Published: 2007
Essential SharePoint 2007: A Practical Guide for Users, Administrators and Developers Authors: Jeff Webb, Pages: 428, Published: 2007
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006

Web:
WebPart Localization - ASP.NET Forums I've been playing with the use of satellite assemblies for localization of my custom webparts (specifically the WebPartZone ...
Web parts (Hidden) Text Localization and getting rid of its Title ... By localization I meant the Internationalization of the Text Hidden which is displayed for the web parts in the Edit mode. ...
Code, Articles, Discussion on Microsoft Technologies: Localization ... Sep 2, 2006 ... Still, if you want to perform localization in webparts for whatever ... We will create a simple MOSS 2007 webpart with localization support. ...
SharePoint Localization Tips and Tricks Feb 16, 2007 ... Anything that you might display in the body of the web part qualifies as text that may need to be localized. Similarly in a SharePoint world ...
SharePoint Thoughts - Discussion view As you can see, creating a localized web part is pretty simple. It does require some upfront work, but not too much. :) ...
Code, Articles, Discussion on Microsoft Technologies ... We will create a simple MOSS 2007 webpart with localization support. Create a simple class library project and reference to the sharepoint namespace. ...
MSDN Web Parts and run time resx localization Web Parts and run time resx localization. ... My goal is to create .resx file into web part's feature folder or .\12\Resources and where from web part would ...
L10n:Web parts - MozillaWiki Oct 3, 2008 ... L10n:Web parts. From MozillaWiki ... Choose one person in your localization team to be the "web l10n" contact; This person should contact ...
DotNetSlackers: How to localize Web Parts attributes ... Nov 17, 2005 ... How to localize Web Parts attributes: ConnectionConsumer, ConnectionProvider, WebDescription, and WebDisplayName ...
Karthick's Blog : WSS 2.0 : Technical details about localizing ... Dec 13, 2006 ... However, the web part “dwp” files in the cab file contain a title and description for each web part. You want to localize these values as ...




Search This Site:










theme please help

how to make time bound website

mask edit for web forms

using drop downs in a composit control

is treeview control really reliable?

get portalsettings.activetab.breadcrumbs

how to get started with drawing flow charts, lines with arrows on aspx pages

q: error in scheduler. unable to edit types.

no depth?

menu and calendar issues

multiple calendars?

moduleloadexception error viewing user accounts on 3.0.13

where to get the patches for the visual studio.net 2005 beta ii

run-time error

what will be the class of ".aspx" page?

this may be a stupid question

how to create new module?

combining 2 object into 1

in vs 2005 source view stops accepting non-alphanumeric keyboard input...still!.

dnn 3.0.7 - server error in '/dotnetnuke' application

date validation

help moving from system to server

sound file problem

sitelog question

web server error

not coming attributes in <membership> element

tabs in 2.0

deploying login control to server

how to set up dnn on webhost4life server

groups rather than roles

 
All Times Are GMT