Tag Archives: i18n

Traduïr el títol d’un bloc (Drupal)

Si volem traduïr el títol d’un bloc només hem de posar la funció t() a la plantilla dels blocs. if “block title translation” is the only issue (as the title of the issue indicates) all you need is wrap the … Continue reading

Posted in Drupal | Tagged , , | Leave a comment

Configurar variables multilingües a Drupal

Per poder configurar algunes coses a Drupal com a multilingües cal afegir un array al fitxer /sites/default/settings.php El més habitual serà configurar una front_page diferent per a cada idioma. Llavors a admin/settings/language/i18n/variables ens apareixerà l’estat d’aquestes traduccions. /** * Multilingual … Continue reading

Posted in Drupal | Tagged , , | Leave a comment