Results 1 to 3 of 3

Thread: Regionalisation of attributes

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Regionalisation of attributes

    I have an attribute Description applied to the public interface items of my usercontrol so that the developer knows what each property is for e.g.:

    VB Code:
    1. <Description("Sets the spooler pooling interval"> _
    2. Public Property Timeslice As Integer
    3. '...
    4. End Property

    How do I make it so that the description will appear in French on a French developer's machine etc.?

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    God Merrion, when you ask a question, its beyond difficult...

    I think this sample project may help you...

    (be aware, it make take 15-20 seconds to load the page, site is sometimes pretty busy i guess)


    http://www.codeproject.com/cs/miscct...opertygrid.asp

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    Investigations reveal a derived class called DescriptionLocalizableAttribute which I may use - or I'll probably end up making my own localisable version of description that is not dependent on Microsoft.ContentManagement.PublishingExtensions....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width