Multi Language Site
I am currently creating a multi-language site using ASP .NET and was wondering what people think the best way to do this. Keeping a session variable of the users's choice? Cookies?
View RepliesI am currently creating a multi-language site using ASP .NET and was wondering what people think the best way to do this. Keeping a session variable of the users's choice? Cookies?
View RepliesI was trying:
Code:
<!--#include file="lang/<%= Request.QueryString("lang") %>.asp"-->
But it doesn’t work.
Iam working on a search that needs to fetch words from other languages for any given word entered in english. I use an access database to store the english words and its equalent words in other languages. For example:
When i search for chinese equalent of Invoice (or any other word), the retrieved result is?.
For the past couple of months we've been developing a fair number of sites and sub-sites for an intranet site using a mix of JScript and VBScript.
Personally I disklike ASP and consider it an inferior scripting environment compared to Perl, PHP or Java, and the only reason I consented to work on this project was that I could use JScript (hello!.. real hashtables, exception handling etc.).
The problem we're having at the moment, is that one developer only does VBScript, and I will only write large amounts of code if I use JScript. But various aspects of the sites are merging, and we're having problems passing varbles two and from VBScript and JScript. One hacked up solution i've used is as follows: Code:
I am in the process of developing several web sites that will accommodate up to 3 or 4 languages. The sites are not that complex, but will use an Access database for some data presentation/storage. Each page will have a series of flags for respective languages. Ideally, if someone enters on a "gateway" page for say Gallery, and they choose another language, I would like the same page to display but in a different language (there might be a page for each language, but if I can avoid that I'd rather).
So here are my thoughts on how to approach this. Have a session var for language preference and set it in a Global.asa file. I would think it could be set dependant on the origin of the request, .de, .co.uk, .it, etc. Then, if the code is not too verbose, use Case statements in the code to display content based on language preference. One thing of a bit challenging for me is that if the "flags" are in an include file, how can I get them to when clicked go to a script, change the session variable and return to the page from which it was clicked. Am I on the right track with this approach.
I am to build a site onto an ASP server. Anyone here used Dreamweaver and is it just a simple matter of opening up a new ASP page in Dreamweaver and build the site like you would normally do with a HTML page and it will handle the ASP coding accordingly and you can just simply upload it onto an ASP server and it will work?
The site I am to build is basically just a standard html website, but my friend wants me to build it for an ASP server so he has asked me to make sure it is an asp site so I am presuming with the extension .asp
If I build it as a html site to begin with, will converting it to asp be hard. Could I just export my pages into asp or is there more to it?
Can a Html website be loaded and working on an asp server or host?
Is it possible to have a site mixed both html and asp, eg. the home page is html and when you click on shopping cart on the home page it goes to a hopping cart page thats .asp or do they all have to have the same extension.
I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I dont know where to begin.
View Replies View RelatedWhenever I do a site that is mostly static but with some semi-dynamic
sections, I've struggled to find a good site search solution without
paying for a hosted search service.
I like the FSO-based search engines, but they fail to pick up on some of
the dynamic part.
I was just creating a Google sitemap and it made me wonder: has anyone
created or seen a script that uses the XML Google sitemap to power a
search engine for your own site?
Seems like if you were keeping it updated for Google, why not use it for
your own site?
I have a problem with displaying data from a database where text is written
in slovenian and in czech. The accents aren't displayed. What can I do to
display all the accents in Slovenian and Czech?
A word in the database: prijímání (f)
Displayed on my ASP page: prijímání (f) (the accent at r is missing)
My database is a Access-2000-database. All the accents are displayed in the
database.
I really want to build mine using classic ASP as this is the language my trusted friend has a talent for.This seems to make sense in the short term. However I worry about the lack of social networking sites built with ASP.
There must be reasons for this. So plan to recode using PHP and transport existing database across once I have earnt enough from the website to pay for the services of a qualified person.Is this plan sensible, should I stick with my friend and ASP OR should I code with PHP from the start?
I have built a couple using a little ASP code for example the 'include' comand. The server I am using obviously supports ASP but I want to move to another host but they dont support ASP.
What other language would be similar to ASP. The new hosting site supports cgi, php and ruby. I know nothing about any of these. I may want to be able to access a database in the future or add a message board to a site so the language needs to be a bit interactive.
I'm looking for the best solution, for example, I don't know if it's better to have all the text in the page in all languages and then select it with a querystring:
page.asp?lang=1
And in the code:
lang = CInt(Request.QueryString("lang"))
If lang = 1 Then
' xhtml for language 1
else
....
I don't consider this a good solution, it's a nightmare to update.Maybe storing text in a database? XML? I would like to hear your suggestions and opinions about best methods.
how to have multiple language asp pages? For example, you have a database driven website that you want customers around the world to use. How do you setup the asp pages so that it is easy to change the text based on where the user is
connecting from?
Since ASP server scripts use VBScript by default, does it mean it is
redundant to put the following in ASP page? Then when do we need to use
this? In client-side VBScript?
I have learnt how to use some aspects of php. But have got a little stuck on databases. Are there some easy examples to follow from the internet on how to modify databases in asp?
Is asp very similar to php? In the sense that you can achieve the same things with it?
is there an online dictionary that I can use to learn asp? especially one that can be kept and stored offline(I am not on the internet at home)
I have no idea what would cause this because my system setting is set to English and all of my other programs that use the date and time are doing it in English but my ASP seems to be giving me the date in Italian
For example..
WeekDayName(WeekDay(Now())) = venerdě instead of Friday.
I have some dynamic pages like asp files and the data comes from database.
What I need is to display the page content to diffrent languages.
Suppose user selects Germany and the page content changes to german language.
Is it possible to detect browser/system language with:
Server.CreateObject("MSWC.BrowserType") ?
~
What's the best way to toggle two different language on
the web site using asp. Some web sites seem to store
html links in database and call it on demand. Please
advise and show the best way to program it.
I want to make a website both in English and in French, I dont know how to design the database (same for both ) or different.
Can anyone of you suggest me how can i make a website for more then one language.
The two versions of the website will have both the graphics and contents different and there is a search option too.
How can i search an english database with a french keyword?
My set of .NET 2003 CDs has 2 .net cds; 1 prerequisite cd; plus msdn. I get to a certain point in the installation and it prompts me for the English Lanaguage CD and I don't know what this is. I bought the set from someone who didn't want them any more - did I not get one of the CDs?
View Replies View Relatedseems like alot of things in ASP VBSCRIPT dont have equals in ASP JAVASCRIPT. tryign to do a lowercase on a string
"101:121:212 ABCA"
so it becomes
"101:121:212 abca"
LCASE doesnt work , get error so i assume its not in the JScript version of ASP.
I want to watermark images already on the server, on the fly as they're being called. I've found some PHP scripts that do it but I need them in an ASP environment using either VBScript(preferred) or Javascript. Anyone have any ideas or suggestions?
View Replies View RelatedHow can i convert my site in to language. Just like http://www.Google.com
View Replies View RelatedI'm sort of trying to force my way through some manuals and w3schools trying to pick up asp. i'm farmiliar with PHP so i figure it will be a breeze there's just one general theory idea i don't understand. if ASP can be written with either javascript or vbscript. then is ASP just adding the <% %> tags around the code?
something like "Session.Timeout" or "response.write" this doesn't look like VBScript to me. are these elements of ASP, VBScript, or something else?
I hope you can understand my question.I'm sort of confused with the languages / where to look to find information because i dont know what to look for.
Can anyone tell me how i can access the value of a variable created in javaScript, within an ASP statement and vice-versa if poss??
View Replies View Relatedtext into the text box with shift+alt key.
A normal user is unaware of it. ifI upload pages into my remote domain. There how a person who has not installed arabic in his pc is able to enter arabic. now i think my concern will be more clear to u if u need some further assistance then don't hesitate to ask.
I see that ASP allows you to specify the scripting language of your
choice - including (if you get the COM object) PERL, REXX and more. That
seems pretty good, I think.
Out of the box, it supports VBScript and JScript.
The question is (and I know that personal preference will come into
this) what would you choose to use out of JScript and VBScript? Does one
actually have more capability than the other?
How do you obtain the nationality of the person surfing to your site in regular ASP not ASP.NET? Windows CE's webserver supports HTTP 1.0. I intend to use Windows CE's webserver.
View Replies View RelatedI am learning them and using them in a project simultaneously. I felt VBscript is a little primitive when it comes to error handling. I mean I can't put "On Error Resume Next" command before every code line of the program. That's one of the problem I came across so far - and for me it is a major draw back to develop a application with no or little error-handling.
which is better to use along with ASP - VBScript or JScript or JavaScript. As I don't have experience using them, I can't judge which is better to use in a real time project.
I want to build a website who handle 3 different countries (english, german, french). The changes between the countries is the text on the website. I know that i can put the text in a database to change it dynamic. But i wonder if i can do it on another way?
View Replies View RelatedI am using Microsoft remote scripting for a site that I am making. Everything is going pretty good except one thing. My values which I want to store in the database(this procedure takes place in the calling page) are being stored with wrong and wuth no sence characters.
So far I understood that using remote scripting for languages more than English is impossible. Am I right or is there a tip for using it for every language eg Hindi etc etc? I need an answer to this because I am trying to solve this problem for more than a month.
I'm creating a bilingual site for an Intranet. The site is created with a modified version of NukeEdit. The way it works is I have 2 completely seperate sites that are identical for both languages (other than the content of course).
To make things simpler all the files and folders are named in English so the directory and file stucture for the site is the same for both languages.
On each page there is a button to switch languages. The thing is I have the button linking to the homepage. I would like it to be a bit smarter and take you to the actual page you're in. Code: