• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 282
  • Last Modified:

localization with hyperlink


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 ?

1 Solution
Give this a go...

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 %>" />
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now