[drupal-devel] using custom blocks in i18n
7 Oct
2005
7 Oct
'05
9:39 p.m.
For others using the i18n module, in order to get some French/English bilingual static content into blocks, Mike Gifford and I used the following approach: <?php if ( i18n_get_lang()=='fr' ) then { ?> // french text <?php } else { ?> // english text <?php } ?> Joe Murray, PhD President, JMA Consulting 57 Grandview Ave, Toronto, Ontario, Canada M4K 1J1 416.466.1281, 416.466.1277 (f) joe.murray@jmaconsulting.biz
7562
Age (days ago)
7562
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joe Murray