I am working on a multilingual site right now, and am using the Internationalization suite of modules to build it out.
The site has some custom blocks in it that I would normally use DRUPAL_CACHE_GLOBAL
in the hook_block_info()
definition. However, some of these will have translatable strings in them, so I really need to cache them per-language.
Is this possible? Or, is my only real option to use DRUPAL_CACHE_PER_PAGE
?
cache_set
/cache_get
withmpd_awesome_site_fr
,mpd_awesome_site_ru
)