CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Site with different languages

Print topic Send  topic

Author Message
David
Posted: 03/25/2002, 6:41 AM

Anyone have an idea for a site in 4 languages with CC MySQL PHP & templates?
Nicole
Posted: 03/26/2002, 12:36 AM

For the time being it can be done in Template version only and require some manual coding. All captions on the form (FormCaption and field captions), should be defined in curl braces, like {FormCaption}. And all button captions, navigator captions should be defined the same way.
Then in Open event of the form you should get the selected language and define all captions. E.g. for English:
if (get_param("language") == "eng")
{
$tpl->set_var("FieldCaption", "Result");
$tpl->set_var("Field1Caption", "Name");
//other captions
$tpl->set_var("insert_button", "Insert");
//other buttons
$tpl->set_var("Previous", "Previous");
//other navigator captions
}



   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.