Click here to Skip to main content
15,923,219 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi!

I Have read about the localization and got it to work.

But my question is, what is the solution if my content text is in a database?

My homepage is on Danish and English, is it to have 2 database? One for Danish and one for English?

How do I combine the click on the english button and all on the page is changing to english language on the fly?

I am new to asp.net, so I have to have it spelled out.

Hope someone could helping me

/Tina
Posted
Comments
Sergey Alexandrovich Kryukov 23-Apr-13 10:00am    
With button? Do you think you should list the languages on a button. And how to select it? :-)
—SA
tina_overgaard 23-Apr-13 10:36am    
I want to flags for each country and when I click the language is changing
Sergey Alexandrovich Kryukov 23-Apr-13 11:07am    
Then you need use something adequate, such as ListBox...
—SA
ZurdoDev 23-Apr-13 10:35am    
You need something like < globalization requestencoding="utf-8" responseencoding="utf-8" resourceproviderfactorytype="Helpers.Localization.ResourceProviderFactory" culture="en-US" uiculture="en-US"> and then have a class that inherits the ResourceProviderFactory class. It isn't necessarily hard but there is a lot to get it setup.< / globalization>
tina_overgaard 23-Apr-13 10:37am    
But how do I do that? I have never done something like this before

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900