xbill
Posts: 35
|
| Posted: 01/09/2009, 8:32 AM |
|
Hi-
I have two versions of my CCS projects- one that is just
plain US english with no internationalization, and one with
full internationalization/locales turned on.
Is there a quick way - by a CCS internal function or variable
to know if the internationalization has been turned on at runtime?
ie what I want to do is only run pieces of code when the generated
files are running under the full internationalization.
Something like:
if (CCS is international) {
iconv etc etc
}
thanks,
-bill
|
 |
 |
mentecky
Posts: 321
|
| Posted: 01/09/2009, 10:23 PM |
|
Bill,
Best I can think of is count the Locales defined... for example:
global $CCSLocales;
if (count($CCSLocales->Locales) > 1)
...
Hope that helps!
Rick
_________________
http://www.ccselite.com |
 |
 |
|