Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WordPress, on fait speak my language, va bene?

WordPress, on fait speak my language, va bene?

Session at WordCamp Switzerland 2014 (#wcch) on WordPress Multisite for authored content in more than one language. Covering Layers of complexity when planning multilingual content. Plugin introduced: Multilingual Press (free and Pro) for happy language relationships.

Caspar Hübinger

May 03, 2014
Tweet

More Decks by Caspar Hübinger

Other Decks in Programming

Transcript

  1. my Language,
    WordPress,
    SPEAK
    ...va bene?
    on fait

    View Slide

  2. The Missing 

    Core Feature
    1

    View Slide

  3. View Slide

  4. x: 10px

    y: 160px

    View Slide

  5. View Slide

  6. View Slide

  7. WordPress in
    Multiple Languages

    View Slide

  8. “21% of the web!”

    View Slide

  9. …in one language per site?

    View Slide

  10. Translate WordPress
    • http://codex.wordpress.org/WordPress_in_Your_Language
    • http://codex.wordpress.org/Translating_WordPress
    • http://make.wordpress.org/polyglots/

    View Slide

  11. Message-level translation
    __( 'Shall we have a drink?', 'domain' );
    _e( 'Shall we have a drink?', 'domain' );
    !
    #: some-file.php:1
    msgid "Shall we have a drink?"
    msgstr "Bierchen?"

    View Slide

  12. Language files
    /languages/de_CH.mo
    /languages/de_CH.po
    /languages/de_DE.mo
    /languages/de_DE.po
    /languages/fr_FR.mo
    /languages/fr_FR.po
    …etc.

    View Slide

  13. Translate Content?

    View Slide

  14. the_post();

    View Slide

  15. “The Blogging Software Dilemma”
    http://ma.tt/2003/01/the-blogging-software-dilemma/

    View Slide

  16. “forward compatibility has
    lately been in my mind …

    My logging software hasn’t
    been updated for months, and
    the main developer has
    disappeared …”

    View Slide

  17. “forward compatibility has
    lately been in my mind … 

    My logging software hasn’t
    been updated for months, and
    the main developer has
    disappeared …”

    View Slide

  18. “forward compatibility has
    lately been in my mind … 

    My logging software hasn’t
    been updated for months, and
    the main developer has
    disappeared …”

    View Slide

  19. View Slide

  20. Multilingual 

    Blogging Software Dilemma?

    View Slide

  21. View Slide

  22. Layers of Complexity

    View Slide

  23. Mixed Languages

    View Slide

  24. Separated Languages

    View Slide

  25. Language Relationships

    View Slide

  26. Complexity
    Single Mixed Separated Relationships

    View Slide

  27. Complexity
    Single Mixed Separated Relationships
    …fancy rewriting URLs here?

    View Slide

  28. Solutions

    View Slide

  29. Category Hack
    github.com/glueckpress/glckprss-bilingual-categories

    View Slide

  30. Multisite WP

    Core
    codex.wordpress.org/Create_A_Network

    View Slide

  31. Multilingual Press
    Multisite
    http://wordpress.org/plugins/multilingual-press/

    View Slide


  32. View Slide

  33. View Slide

  34. View Slide

  35. View Slide

  36. View Slide

  37. View Slide

  38. View Slide

  39. View Slide

  40. View Slide

  41. View Slide

  42. View Slide

  43. View Slide

  44. View Slide

  45. View Slide

  46. View Slide

  47. View Slide

  48. View Slide

  49. View Slide

  50. View Slide

  51. View Slide

  52. View Slide


  53. View Slide

  54. Wrap-up

    View Slide

  55. Layers of Complexity
    ✔ Pick yours!
    ✔ Multilingual content doesn’t always have to be translated.
    ✔ Mind exponential complexity graph when selecting a solution.

    View Slide

  56. WordPress Multisite
    ✔ Core feature.
    ✔ Easy to set up.
    ✔ Future-super-proof.
    ✔ Rock-solid performance.
    ✔ Hassle-free maintenance.
    ✔ Extra features via plugin when needed.

    View Slide

  57. Multilingual Press
    ✔ Strictly built upon core/Multisite.
    ✔ Future compatible.
    ✔ Flexibly extendible.
    ✔ SEO-friendly.
    ✔ Excellent performance & scalability.
    ✔ Developer Framework + API.
    ✔ Free and Pro version available.

    View Slide

  58. ✔ Strictly built upon core/Multisite.
    ✔ Future compatible.
    ✔ Flexibly extendible.
    ✔ SEO-friendly.
    ✔ Excellent performance & scalability.
    ✔ Developer Framework + API.
    ✔ Free and Pro version available.
    Multilingual Press
    “YOUR
    CONTENT IS
    SACRED”
    #nacinsaid

    View Slide


  59. Merci!

    Grazie!
    Danke!
    Thanks!

    View Slide

  60. Caspar Hübinger
    @glueckpress
    glueckpress.com

    marketpress.com
    inpsyde.com

    View Slide

  61. Photo Credits
    • Matt Mullenweg: http://ma.tt/about/
    • Caspar Hübinger: http://stil-etage.de/

    View Slide