Solved

localization with hyperlink

Posted on 2006-11-08
1
265 Views
Last Modified: 2012-05-05
Hello,

I try the localization facilities from asp.net 2.0.
I have a folder named app_localresources with somes resources files.

How can I use this to translate my hyperlink ?

thank
0
Comment
Question by:PHD
1 Comment
 
LVL 11

Accepted Solution

by:
ethoths earned 500 total points
ID: 17896722
Give this a go...
http://msdn2.microsoft.com/en-us/library/fw69ke6f(VS.80).aspx

Basically tou have a set of files in thsi foldr that are identified by the locale string..


in each of these folders you have...

<asp:Hyperlink ID="Hyperlink1" Runat="server" meta:resourcekey="HyperlinkResource1" Text="English Hyperlink" />

Then in your aspcx page...

<asp:Hyperlink ID="Hyperlink1" Runat="server" Text="<%$ Resources:LocalizedText, HyperlinkResource1 %>" />
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now