$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
Drupal7 multilingual
1. Multilingual sites in Drupal 7: New features, new possibilities Grigory Naumovets Kiev, Ukraine
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19. Contexts are intended for per-meaning translatability Context: “May” as Long month name ( not “may be”) Context is a new feature; guidelines still need to be developed. So far, used inconsistently. Not supported by Javascript menu items and strings.
20.
21.
22. Now about content translation Enable multilingual support in content type properties: Looking for this in “Publishing options” is not really obvious
23.
24.
25.
26. And now something really new… We need to use some contributed modules However, D7 has NO built-in interface for translatable fields D7 core has built-in support for field languages!!! (via its new Field API)
34. Enabling multilingual variables in i18n/D6: add their names ( site_name , site_footer , theme_settings , etc.) to the settings.php file $conf['i18n_variables'] = array( // Site name, slogan, mission, etc.. 'site_name', 'site_slogan', 'site_mission', 'site_footer', 'anonymous', // Different front page for each language 'site_frontpage', // Primary and secondary links 'menu_primary_links_source', 'menu_secondary_links_source', // Contact form information 'contact_form_information', // For theme variables, read more below 'theme_settings', 'theme_garland_settings', );
35. i18n/D7 does not work this way anymore Now multilingual variables are controlled via “Multilingial settings – Variables” menu (Depends on the new variable.module )
36. Multilingual variables A very convenient link to switch languages (especially if there is no language switcher in the admin theme)
37.
38. Taxonomy terms Connect different terms as translations of each other: This option was available in D6, too – but it did not really work. Now (I hope) it should!