Solved

when to query messages for different languages in application

Posted on 2009-07-03
2
148 Views
Last Modified: 2013-12-24
I am redoing parts of a website and rather than having a different page per language I have set up a table tblMesseges with different languages in seperate columns.

My question is when would it be best for me to call these messages? Should I call them all at the beginning, meaning straight from the application.cfm file and when a person clicks on the language button to switch languages or should I have a query at the top of each page that calls the messages?
0
Comment
Question by:Shawn
2 Comments
 
LVL 13

Accepted Solution

by:
srikanthmadishetti earned 500 total points
ID: 24776509
I would sugest write a query and on the fly pass the langid to it.
 
For example :
 
<cfquery name='langmsgs" datasource ="yourdsn">
Select *   from where langid  = < which you will pass on the select of lang ->
 
</cfquery>
The query 'langmsgs contains the record of the language id which you pass
this query ill be written at one place which as you think can be applicaiton.cfm .
 
 
0
 
LVL 1

Author Comment

by:Shawn
ID: 24800708
thanks for the push in the right direction. :)
Shawn
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now