CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Wishes

 Apply translation resources {res:...} after applying label,records etc.

Print topic Send  topic

Author Message
roeya


Posts: 181
Posted: 10/31/2008, 2:50 AM

I have found that translations are applied before applying anything else.

If translations are applied at the end then fields that contain {res:...} strings will be translated too. This prevents cases where you need to handle translation both in the DB and in the resources....

Currently we use a simple hack to handle this in page BeforeOutput event:

PAGE_NAME_HERE::main_block =~ s/\{res:\s*(\w+)\}/$Common::CCSLocales->GetText($1)/iseg;

_________________
http://www.infoneto.com/
View profile  Send private message
Gena

Posts: 591
Posted: 10/31/2008, 3:15 AM

agree! can be very helpful
_________________
Gena
View profile  Send private message
kynext

Posts: 7
Posted: 05/15/2009, 3:11 AM

i agree too
_________________
KYNEXT s.r.l.
web design & web marketing
www.kynext.com
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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