Multi-lingual sites with WordPress

Multi-lingual sites with WordPress

An introduction to building Multi-lingual sites with WordPress

7443ddca4d7693b0ffd6b29b9227d718?s=128

Rich Holman

March 02, 2012
Tweet

Transcript

  1. 5.
  2. 8.

    Discovery - the need * Editorial - localisation * Translation

    - internationalisation * Informs solution e.g. multi-site or single site
  3. 12.
  4. 13.
  5. 16.
  6. 23.
  7. 24.

    Language files - Admin * wp-config.php: single site define('WPLANG', 'pt_BR');

    multi site define('WPLANG', ''); then set in admin
  8. 25.
  9. 27.

    Abstract terms in theme <?php _e('Hello World', my_theme'); ?> .

    __( 'Hello World', 'my_theme' ) . http://codex.wordpress.org/ Translating_WordPress
  10. 29.
  11. 30.
  12. 31.
  13. 32.

    Customisation * Taxonomies/Tags - arghhhh * Queries - there be

    dragons * Widgets * Plugins * Feeds - flickr, facebook etc * RSS - http://codex.wordpress.org/ Customizing_Feeds
  14. 33.

    Plugins * WPML * xili-language * qTranslate * Polylang *

    Google AJAX Translation * Multisite Language Switcher http://codex.wordpress.org/ Multilingual_WordPress
  15. 39.
  16. 40.

    Translation APIs * Google Translate - Pay per request $20

    per 1 M characters Limit 2M chars/day. * Bing Translator - Free