Changing HTML Text using a button (ASP .NET)

Is it possible to change the text in HTML format using a button in ASP or Input, for example:

Home > Accueil
Games > Jeux

(It's for translation)

Also, I'm only a beginner and I learn programming by myself, so please to say i'm stupid for asking such an easy question.

Answers


Generally when changing text for specific languages is called Localization or Globalization. There are many ways to handle it, but the general approach is to include a resource file file for the different languages you want to support. Then instead of directly writing Home or Game in the text, you reference the resource files.

<asp:Button ID="Button1" Runat="server" meta:resourcekey="ButtonResource1" Text="English Button" />

http://msdn.microsoft.com/en-us/library/fw69ke6f(v=vs.100).ASPX


Need Your Help

IE8 returns 'Object expected' prototype

javascript internet-explorer-8

I have this code, that works good on all browser and IE9> , but in IE8 it throws me

PouchDB: Return query() result object

javascript database function object pouchdb

So I have this working PouchDB query which prints out the result into the console: