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 -> General/Other

 Parameter in translation

Print topic Send  topic

Author Message
Netix

Posts: 18
Posted: 08/07/2007, 10:48 PM

How can I enter parameter to translation in HTML code?

I think how can I put parameter to:

{res:translation_string}

_________________
http://www.netix.sk
View profile  Send private message
Wkempees
Posted: 08/08/2007, 6:47 AM

PhP:


In the event code
  
         global $CCSLocales;  
	$Yourtranslation = $CCSLocales->GetText('translation_string'));  
  
Netix

Posts: 18
Posted: 08/08/2007, 12:08 PM

But without php code. Only in the html code. How I can put parameter to the translation?
_________________
http://www.netix.sk
View profile  Send private message
wkempees
Posted: 08/08/2007, 2:40 PM

??
Explain.

Walter
"Netix" <Netix@forum.codecharge> schreef in bericht
news:246ba14a78d78b@news.codecharge.com...
> But without php code. Only in html code?
> _________________
> http://www.netix.sk
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Netix

Posts: 18
Posted: 08/08/2007, 3:33 PM

In my CMS Tangram I am using jquery and for form validation:

http://bassistance.de/jquery-plugins/jquery-plugin-validation/

Problem is in html code:

messages: {
username: {
required: "Please enter a username",
minLength: "Your username must consist of at least 2 characters"
},

How this piece of html code rewrite to CCS? But I do not want do it in php code. It is very bored for me.



_________________
http://www.netix.sk
View profile  Send private message
wkempees
Posted: 08/09/2007, 2:38 AM

Then you are on your own.
The translations are in .txt files on your project directory.
Have a look at Project Explorer->Resources in the File View.
I think you will want to build your own translation class using these files.

Walter

"Netix" <Netix@forum.codecharge> schreef in bericht
news:246ba449d024c2@news.codecharge.com...
> In my pages I am using jquery and for form validation:
>
> http://bassistance.de/jquery-plugins/jquery-plugin-validation/
>
> Problem is in html code:
>
> messages: {
> username: {
> required: "Please enter a username",
> minLength: "Your username must consist of at least 2 characters"
> },
>
> How this piece of html code rewrite to CCS? But I do not want do it in php
> code. It is very bored for me.
>
>
>
> _________________
> http://www.netix.sk
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


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.