Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 840659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:39:40+00:00 2026-05-15T05:39:40+00:00

Trying to localize text in ASP.NET labels… want to add a ‘:’ after the

  • 0

Trying to localize text in ASP.NET labels… want to add a ‘:’ after the localized text. I could just add the ‘:’ to the localized text in the resource file, but that seems silly… there should be an easy way to do this.

<asp:Label id="RoleTypeLabel" runat="server" Text='<%$ Resources: GS3, RoleTypeLabel %>:' AssociatedControlID="RoleTypeDropDown"></asp:Label>

(note the ‘:’ at the end of Text=’…’)

Of course, this doesn’t work… and neither does anything I can think of to concatenate a ‘:’ onto the end of the localized text.

Anyone know how to do it?

TIA,
James

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:39:41+00:00Added an answer on May 15, 2026 at 5:39 am

    I’ve always put the colon outside the label.

    <asp:Label ID="RoleTypeLabel" runat="server" Text="<%$ Resources: GS3, 
    RoleTypeLabel %> />:
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to localize standart ASP.NET login control. When I change page culture
I'm trying to draw localized text (i.e., the text could be in english, chinese,
I'm trying to localize an asp.net web application. Consider the following asp.net code. I'm
I'm trying to localize client side Javascript in a ASP .NET MVC application. The
I am stumped trying to add a localized label to a custom button. I
I am trying to localize images in JSF, and I want the user to
I'm trying to localize a Django application, but I could not find any way
I'm trying to localize my application, and it would be nice if I could
Im trying to localize the labels for ActiveScaffold STI children. In development it works
I'm trying to localize my office add-in, I've read through many docs and tutorials

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.