Solved

when to query messages for different languages in application

Posted on 2009-07-03
2
153 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

635 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