Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 6th, 2006, 02:28 AM
Registered User
 
Join Date: Dec 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL Server -French Language


Hi all,

    Actually i am working on a project with SQL Server 2000 as Backend
and .Net as front-End.That Project is Completed and working well in Engish.I have to Enhance the Project those user select French the it should show in French.What are the modifications i have to do in Database to do this Task.
Please Guide me

Thanks,
Prabhakaran
 
Old December 8th, 2006, 11:31 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can to code your application as follows. Define the fields in your dot net that display on the screen as sourced from the database. For example if you want to say "first name" on your screen. Instead of doing what you normally would do which is put this in dot net. You need to setup some sort database table for this where you get all your description information from the database instead of dot net.
For example here is the high level of the logic. Person hits your front spash page. They select language = "french" you go to the database then to a table which has a value (database row) for each field you want to display in the dot net front end. For example you want your screen to say "login" and "userid" and "password". All of these three pieces of information are pulled from the database and then displayed on dot net. So if the person selected english previously they get one set of values, if they selected french they get another. A generic sample of of what this database would look like is this:

language table
1 english
2 french

Screen description table would be like this

Screen Field Languageid Description
------ ----- ---------- -----------
Login field42 1-English Login
Login field42 2-French Le Login
Login field43 1-English User Id
Login field43 2-French Utilisateur
Login field44 1-English Password
Login field44 2-French Mot de passe


 
Old December 11th, 2006, 12:49 AM
Registered User
 
Join Date: Dec 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot for your Reply

Thanks,
Prabhakaran
 
Old December 14th, 2006, 03:13 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am very happy to see you understand the reply. Also note its easy to add additional languages all through the database with now web code changes using this type of method.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Macedonian Language in SQL database dimeanel SQL Server 2000 2 April 20th, 2006 09:46 AM
French Accents Bob Bedell C# 1 February 16th, 2006 12:23 AM
SQL Language khng SQL Language 3 November 22nd, 2004 08:22 PM
How to write in SQL language for auto running numb Jane SQL Language 1 November 22nd, 2003 12:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.