Solved

when to query messages for different languages in application

Posted on 2009-07-03
2
152 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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