CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Parameter in translation

Print topic Send  topic

Author Message
Netix

Posts: 18
Posted: 07/16/2007, 8:56 AM

Hi,

How I can enter a parameter to translation label?

Example:
{res:EnterValue,??Parameter??}

Thanks
_________________
http://www.netix.sk
View profile  Send private message
Gena

Posts: 591
Posted: 07/16/2007, 8:59 AM

Quote Netix:
How I can enter a parameter to translation label?

Example:
{res:EnterValue,??Parameter??}


What is "parameter" ?? What you are going to do?
_________________
Gena
View profile  Send private message
Netix

Posts: 18
Posted: 07/16/2007, 9:23 AM

In PHP code you can send parameter to translate string like this:

global $CCSLocales;
global $Tpl;

$Tpl->Setvar("_username", $CCSLocales->GetText( "TGPleaseEnter", array( $CCSLocales->GetText( "TGLoginName") ) ));


but how you can send parameter in html code?

{res:TGPleaseEnter,TGLoginName} - this does not work, so it seems that is possible only in php code




_________________
http://www.netix.sk
View profile  Send private message

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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