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/ |
|
|
Gena
Posts: 591
|
Posted: 10/31/2008, 3:15 AM |
|
agree! can be very helpful
_________________
Gena |
|
|
kynext
Posts: 7
|
Posted: 05/15/2009, 3:11 AM |
|
i agree too
_________________
KYNEXT s.r.l.
web design & web marketing
www.kynext.com |
|
|
|
|