Reputation: 32311
I'm trying to figure out which would be the best way to go about serving asp classic pages in different languages. Some of the content on the page is generated server-side and some is hard-coded html. I would like to create a drop-down to select between different languages so that the server-side generated html as well as the hard-coded page content changes.
Thanks!
Upvotes: 1
Views: 411
Reputation: 57976
You have some options:
<%= GetLiteral("Disclaimer", Session("language")) %>
Scripting.Dictionary
in global.asa with all localizable content and place it within an Application variable (beware)#includes
for common stuff, like layout)From this set, first option is your best shot.
If you're starting a new application, I suggest you to look for an alternative platform, like ASP.NET.
Upvotes: 5