Solved

localization with hyperlink

Posted on 2006-11-08
1
270 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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