Solved

localization with hyperlink

Posted on 2006-11-08
1
267 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

948 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

22 Experts available now in Live!

Get 1:1 Help Now