SlideShare a Scribd company logo
Drupal 7+ i18n module
        Jose A. Reyero


       http://reyero.net



  Brussels Dev Days - February, 2011
Drupal 5
                 Translations           E-mails


                   Content            Taxonomy                Profiles




                 Configurable
                                      Menu items               Blocks
                   Strings

                 Localization          Variables

                  Language           Language
                 Management          Negotiation             Path aliases




Jose A Reyero - Drupal Dev Days – Brussels – February 2011               http://reyero.net
Drupal 6

                 Translations           E-mails


                   Content            Taxonomy                Profiles




                 Configurable
                                      Menu items               Blocks
                   Strings

                 Localization          Variables

                  Language           Language
                 Management          Negotiation             Path aliases




Jose A Reyero - Drupal Dev Days – Brussels – February 2011               http://reyero.net
Drupal 7

                 Translations           E-mails                Entities


                   Content            Taxonomy                 Profiles




                 Configurable
                                      Menu items               Blocks
                   Strings

                 Localization          Variables               Fields

                  Language           Language
                 Management          Negotiation             Path aliases




Jose A Reyero - Drupal Dev Days – Brussels – February 2011                http://reyero.net
Drupal 7

                 Translations           E-mails



                                         Fields                Entities



                 Configurable
                                      Menu items               Blocks
                   Strings

                 Localization          Variables

                  Language           Language
                 Management          Negotiation             Path aliases




Jose A Reyero - Drupal Dev Days – Brussels – February 2011                http://reyero.net
i18n for Drupal 7
    ●   Use new core features
              –   Entities, Fields
              –   New DB API (Query alter)
              –   Page rendering
    ●   Work with other modules: Translation
    ●   Simplify. Reuse.




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
i18n for Drupal 7



   This is an API module,
                          not a Multilingual Solution.




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
API module / Solution




       ●   Building blocks                     ●   Site specific.
       ●   Modular features                    ●   Worflow
       ●   No assumptions!                     ●   Who translates
                                                   what, how?


Jose A Reyero - Drupal Dev Days – Brussels – February 2011    http://reyero.net
Rosetta Stone, 193 B.C




              3 languages, 100% translated
                                         http://reyero.net
Jose A Reyero - Drupal Dev Days – Brussels – February 2011
Modules and APIs




Adrian Rossouw: “Drupal Teddy Bear”, http://developmentseed.org
to build Solutions.




Adrian Rossouw: “Drupal Teddy Bear”, http://developmentseed.org
Solutions

      ●   Translation Management
      ●   Custom, built with i18n + …
      ●   Multilingual install profile?

                  http://drupal.org/project/drupali18n




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
The translation puzzle




Or how to build a multilingual solution
Toolset
                                        Variable translation
                                         String translation
           i18n                           Translation set
                                         Content Selection

      translation
                                            Field translation


          other                                   Workflow
                                                    UI
Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Multilingual
     menus?




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Menu items

      ●   Added language field
      ●   Visibility depends on language
      ●   User defined items are translated




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Multilingual Blocks




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Blocks
      ●   Set language to blocks
      ●   Per language visibility
      ●   Translatable blocks




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Multilingual Taxonomy?




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Taxonomy
      ●   Per vocabulary options:
                –   Multilingual
                –   Translatable


      ●   Terms can be:
                –   Localizable (strings)
                –   Multilingual (translation set)



Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
User defined Strings




          Multilingual Scrabble http://flickr.com/photos/urbanmkr/354776635/

Jose A Reyero - Drupal Dev Days – Brussels – February 2011                     http://reyero.net
Translate interface




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
String translation

      ●   Using same UI as Locale
      ●   Textgroups (import, export)
      ●   Localization server ?


          i18n_string($name, $string, $options)
          –   $name = 'menu:item:1:title'
          –   $name = 'taxonomy:term:1:name'



Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
String translation (Security)




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Synchronization

      ●   Configurable per content type
      ●   Using Fields




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Language selection




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Variable translation




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Variable module
                    http://drupal.org/project/variable




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
User profiles


                  Hey, profiles are Fields now!




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Views?


                  http://drupal.org/project/i18n_views




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
#1

      i18n is an API module,

                                not a Multilingual Solution.

      http://drupal.org/project/i18n




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
#2

     Module developers:

                       Please declare your variables!


      http://drupal.org/project/variable




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Thank you
 Gracias ขอบคุณ Danke Obrigado Gràcies

                  Eskerrik asko Juspajaraña благодаря

 Hvala           आभारी हुँ   Dankon Tänan teid

             Takk Gratia tibi ago Graciñas Jag tackar

  Thank you Danku Merci дякую Arigato


Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net
Jose A. Reyero

                              http://reyero.net

                                 @josereyero




Jose A Reyero - Drupal Dev Days – Brussels – February 2011   http://reyero.net

More Related Content

What's hot

The Ring programming language version 1.4 book - Part 2 of 30
The Ring programming language version 1.4 book - Part 2 of 30The Ring programming language version 1.4 book - Part 2 of 30
The Ring programming language version 1.4 book - Part 2 of 30
Mahmoud Samir Fayed
 
Drupal7 multilingual
Drupal7 multilingualDrupal7 multilingual
Drupal7 multilingual
Grigory Naumovets
 
Drupal entity translation
Drupal entity translationDrupal entity translation
Drupal entity translation
Grigory Naumovets
 
Programming languages
Programming languagesProgramming languages
Programming languages
Simon Mui
 
Grigory naumovets.multilingual sites.drupal camp kyiv 2011
Grigory naumovets.multilingual sites.drupal camp kyiv 2011Grigory naumovets.multilingual sites.drupal camp kyiv 2011
Grigory naumovets.multilingual sites.drupal camp kyiv 2011camp_drupal_ua
 
Grigory Naumovets.Multilingual sites.DrupalCamp Kyiv 2011
Grigory Naumovets.Multilingual sites.DrupalCamp Kyiv 2011Grigory Naumovets.Multilingual sites.DrupalCamp Kyiv 2011
Grigory Naumovets.Multilingual sites.DrupalCamp Kyiv 2011camp_drupal_ua
 
Grade 10 introduction and history of programming
Grade 10   introduction and history of programmingGrade 10   introduction and history of programming
Grade 10 introduction and history of programming
Rafael Balderosa
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
agorolabs
 

What's hot (9)

The Ring programming language version 1.4 book - Part 2 of 30
The Ring programming language version 1.4 book - Part 2 of 30The Ring programming language version 1.4 book - Part 2 of 30
The Ring programming language version 1.4 book - Part 2 of 30
 
Drupal7 multilingual
Drupal7 multilingualDrupal7 multilingual
Drupal7 multilingual
 
Drupal entity translation
Drupal entity translationDrupal entity translation
Drupal entity translation
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Grigory naumovets.multilingual sites.drupal camp kyiv 2011
Grigory naumovets.multilingual sites.drupal camp kyiv 2011Grigory naumovets.multilingual sites.drupal camp kyiv 2011
Grigory naumovets.multilingual sites.drupal camp kyiv 2011
 
Grigory Naumovets.Multilingual sites.DrupalCamp Kyiv 2011
Grigory Naumovets.Multilingual sites.DrupalCamp Kyiv 2011Grigory Naumovets.Multilingual sites.DrupalCamp Kyiv 2011
Grigory Naumovets.Multilingual sites.DrupalCamp Kyiv 2011
 
Grade 10 introduction and history of programming
Grade 10   introduction and history of programmingGrade 10   introduction and history of programming
Grade 10 introduction and history of programming
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
 
ASSIGNMENT-II(a)
ASSIGNMENT-II(a)ASSIGNMENT-II(a)
ASSIGNMENT-II(a)
 

Viewers also liked

Twig + drupal 8
Twig + drupal 8Twig + drupal 8
Twig + drupal 8
Logan Farr
 
Drupal cross enterprise integration on an example of Sharepoint
Drupal cross enterprise integration on an example of SharepointDrupal cross enterprise integration on an example of Sharepoint
Drupal cross enterprise integration on an example of Sharepoint
Manuel Pistner
 
Content migration - CSV to Drupal 8
Content migration -  CSV to Drupal 8Content migration -  CSV to Drupal 8
Content migration - CSV to Drupal 8
Hector Iribarne
 
Drupal services - Lemberg Solutions
Drupal services - Lemberg SolutionsDrupal services - Lemberg Solutions
Drupal services - Lemberg Solutions
Lemberg Solutions
 
R Hadoop integration
R Hadoop integrationR Hadoop integration
R Hadoop integrationDzung Nguyen
 
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 ThemeMinimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Suzanne Dergacheva
 
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...Acquia
 
[Srijan Wednesday Webinars] Why Enterprises Should Embrace Distributed Agile ...
[Srijan Wednesday Webinars] Why Enterprises Should Embrace Distributed Agile ...[Srijan Wednesday Webinars] Why Enterprises Should Embrace Distributed Agile ...
[Srijan Wednesday Webinars] Why Enterprises Should Embrace Distributed Agile ...
Srijan Technologies
 
Drupal Continuous Integration with Jenkins - The Basics
Drupal Continuous Integration with Jenkins - The BasicsDrupal Continuous Integration with Jenkins - The Basics
Drupal Continuous Integration with Jenkins - The Basics
John Smith
 

Viewers also liked (9)

Twig + drupal 8
Twig + drupal 8Twig + drupal 8
Twig + drupal 8
 
Drupal cross enterprise integration on an example of Sharepoint
Drupal cross enterprise integration on an example of SharepointDrupal cross enterprise integration on an example of Sharepoint
Drupal cross enterprise integration on an example of Sharepoint
 
Content migration - CSV to Drupal 8
Content migration -  CSV to Drupal 8Content migration -  CSV to Drupal 8
Content migration - CSV to Drupal 8
 
Drupal services - Lemberg Solutions
Drupal services - Lemberg SolutionsDrupal services - Lemberg Solutions
Drupal services - Lemberg Solutions
 
R Hadoop integration
R Hadoop integrationR Hadoop integration
R Hadoop integration
 
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 ThemeMinimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
 
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
 
[Srijan Wednesday Webinars] Why Enterprises Should Embrace Distributed Agile ...
[Srijan Wednesday Webinars] Why Enterprises Should Embrace Distributed Agile ...[Srijan Wednesday Webinars] Why Enterprises Should Embrace Distributed Agile ...
[Srijan Wednesday Webinars] Why Enterprises Should Embrace Distributed Agile ...
 
Drupal Continuous Integration with Jenkins - The Basics
Drupal Continuous Integration with Jenkins - The BasicsDrupal Continuous Integration with Jenkins - The Basics
Drupal Continuous Integration with Jenkins - The Basics
 

Similar to Brussels Drupal Dev Days - Internationalization for Drupal 7 - Jose Reyero

Drupal Internationalization Presentation at OSCMS
Drupal Internationalization Presentation at OSCMS Drupal Internationalization Presentation at OSCMS
Drupal Internationalization Presentation at OSCMS
DevelopmentSeed
 
A whole new world for multilingual sites in Drupal 8 - jam's Drupal Camp session
A whole new world for multilingual sites in Drupal 8 - jam's Drupal Camp sessionA whole new world for multilingual sites in Drupal 8 - jam's Drupal Camp session
A whole new world for multilingual sites in Drupal 8 - jam's Drupal Camp session
Jeffrey McGuire
 
Multilingual Improvements for Drupal 8
Multilingual Improvements for Drupal 8Multilingual Improvements for Drupal 8
Multilingual Improvements for Drupal 8Acquia
 
Drupal 7 vs. Drupal 8: A Contrast of Multilingual Support
Drupal 7 vs. Drupal 8: A Contrast of Multilingual SupportDrupal 7 vs. Drupal 8: A Contrast of Multilingual Support
Drupal 7 vs. Drupal 8: A Contrast of Multilingual Support
Acquia
 
Babel and Beyond - Professional Multilingual Solutions with Drupal
Babel and Beyond - Professional Multilingual Solutions with DrupalBabel and Beyond - Professional Multilingual Solutions with Drupal
Babel and Beyond - Professional Multilingual Solutions with DrupalAcquia
 
Drupal 8 Multilingual - what to look forward to
Drupal 8 Multilingual - what to look forward toDrupal 8 Multilingual - what to look forward to
Drupal 8 Multilingual - what to look forward to
Gábor Hojtsy
 
Everything multilingual in Drupal 8 (2015 November)
Everything multilingual in Drupal 8 (2015 November)Everything multilingual in Drupal 8 (2015 November)
Everything multilingual in Drupal 8 (2015 November)
Gábor Hojtsy
 
Energy.gov Case Study
Energy.gov Case StudyEnergy.gov Case Study
Energy.gov Case Study
zroger
 
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdfDr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
RahulSingh190790
 
W1-Presentation-Introduction to Computing and Programming.pdf
W1-Presentation-Introduction to Computing and Programming.pdfW1-Presentation-Introduction to Computing and Programming.pdf
W1-Presentation-Introduction to Computing and Programming.pdf
JarellScott
 
Upcoming version of Drupal – Drupal 8
Upcoming version of Drupal – Drupal 8Upcoming version of Drupal – Drupal 8
Upcoming version of Drupal – Drupal 8
Softweb Solutions
 
Training python (new Updated)
Training python (new Updated)Training python (new Updated)
Training python (new Updated)
University of Technology
 
Embrace dynamic PHP
Embrace dynamic PHPEmbrace dynamic PHP
Embrace dynamic PHP
Paul Houle
 
Xml & scripting
Xml & scriptingXml & scripting
Xml & scripting
SURBHI SAROHA
 
The multilingual Drupal 8 experience (European Drupal Days 2015)
The multilingual Drupal 8 experience (European Drupal Days 2015)The multilingual Drupal 8 experience (European Drupal Days 2015)
The multilingual Drupal 8 experience (European Drupal Days 2015)
Eugenio Minardi
 
Everything multilingual in Drupal 8
Everything multilingual in Drupal 8Everything multilingual in Drupal 8
Everything multilingual in Drupal 8
Gábor Hojtsy
 
Pearl
PearlPearl
web Based Application Devlopment using PHP
web Based Application Devlopment using PHPweb Based Application Devlopment using PHP
web Based Application Devlopment using PHP
maccodder
 

Similar to Brussels Drupal Dev Days - Internationalization for Drupal 7 - Jose Reyero (20)

Drupal Internationalization Presentation at OSCMS
Drupal Internationalization Presentation at OSCMS Drupal Internationalization Presentation at OSCMS
Drupal Internationalization Presentation at OSCMS
 
A whole new world for multilingual sites in Drupal 8 - jam's Drupal Camp session
A whole new world for multilingual sites in Drupal 8 - jam's Drupal Camp sessionA whole new world for multilingual sites in Drupal 8 - jam's Drupal Camp session
A whole new world for multilingual sites in Drupal 8 - jam's Drupal Camp session
 
Multilingual Improvements for Drupal 8
Multilingual Improvements for Drupal 8Multilingual Improvements for Drupal 8
Multilingual Improvements for Drupal 8
 
Drupal 7 vs. Drupal 8: A Contrast of Multilingual Support
Drupal 7 vs. Drupal 8: A Contrast of Multilingual SupportDrupal 7 vs. Drupal 8: A Contrast of Multilingual Support
Drupal 7 vs. Drupal 8: A Contrast of Multilingual Support
 
Babel and Beyond - Professional Multilingual Solutions with Drupal
Babel and Beyond - Professional Multilingual Solutions with DrupalBabel and Beyond - Professional Multilingual Solutions with Drupal
Babel and Beyond - Professional Multilingual Solutions with Drupal
 
Drupal 8 Multilingual - what to look forward to
Drupal 8 Multilingual - what to look forward toDrupal 8 Multilingual - what to look forward to
Drupal 8 Multilingual - what to look forward to
 
Everything multilingual in Drupal 8 (2015 November)
Everything multilingual in Drupal 8 (2015 November)Everything multilingual in Drupal 8 (2015 November)
Everything multilingual in Drupal 8 (2015 November)
 
Energy.gov Case Study
Energy.gov Case StudyEnergy.gov Case Study
Energy.gov Case Study
 
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdfDr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
Dr. Tanvi FOCP Unit-2 Session-1 PPT (Revised).pdf
 
Engaging the xen community
Engaging the xen communityEngaging the xen community
Engaging the xen community
 
W1-Presentation-Introduction to Computing and Programming.pdf
W1-Presentation-Introduction to Computing and Programming.pdfW1-Presentation-Introduction to Computing and Programming.pdf
W1-Presentation-Introduction to Computing and Programming.pdf
 
Upcoming version of Drupal – Drupal 8
Upcoming version of Drupal – Drupal 8Upcoming version of Drupal – Drupal 8
Upcoming version of Drupal – Drupal 8
 
Training python (new Updated)
Training python (new Updated)Training python (new Updated)
Training python (new Updated)
 
Python - the basics
Python - the basicsPython - the basics
Python - the basics
 
Embrace dynamic PHP
Embrace dynamic PHPEmbrace dynamic PHP
Embrace dynamic PHP
 
Xml & scripting
Xml & scriptingXml & scripting
Xml & scripting
 
The multilingual Drupal 8 experience (European Drupal Days 2015)
The multilingual Drupal 8 experience (European Drupal Days 2015)The multilingual Drupal 8 experience (European Drupal Days 2015)
The multilingual Drupal 8 experience (European Drupal Days 2015)
 
Everything multilingual in Drupal 8
Everything multilingual in Drupal 8Everything multilingual in Drupal 8
Everything multilingual in Drupal 8
 
Pearl
PearlPearl
Pearl
 
web Based Application Devlopment using PHP
web Based Application Devlopment using PHPweb Based Application Devlopment using PHP
web Based Application Devlopment using PHP
 

Recently uploaded

GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 

Recently uploaded (20)

GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 

Brussels Drupal Dev Days - Internationalization for Drupal 7 - Jose Reyero

  • 1. Drupal 7+ i18n module Jose A. Reyero http://reyero.net Brussels Dev Days - February, 2011
  • 2.
  • 3. Drupal 5 Translations E-mails Content Taxonomy Profiles Configurable Menu items Blocks Strings Localization Variables Language Language Management Negotiation Path aliases Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 4. Drupal 6 Translations E-mails Content Taxonomy Profiles Configurable Menu items Blocks Strings Localization Variables Language Language Management Negotiation Path aliases Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 5. Drupal 7 Translations E-mails Entities Content Taxonomy Profiles Configurable Menu items Blocks Strings Localization Variables Fields Language Language Management Negotiation Path aliases Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 6. Drupal 7 Translations E-mails Fields Entities Configurable Menu items Blocks Strings Localization Variables Language Language Management Negotiation Path aliases Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 7. i18n for Drupal 7 ● Use new core features – Entities, Fields – New DB API (Query alter) – Page rendering ● Work with other modules: Translation ● Simplify. Reuse. Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 8. i18n for Drupal 7 This is an API module, not a Multilingual Solution. Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 9. API module / Solution ● Building blocks ● Site specific. ● Modular features ● Worflow ● No assumptions! ● Who translates what, how? Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 10. Rosetta Stone, 193 B.C 3 languages, 100% translated http://reyero.net Jose A Reyero - Drupal Dev Days – Brussels – February 2011
  • 11. Modules and APIs Adrian Rossouw: “Drupal Teddy Bear”, http://developmentseed.org
  • 12. to build Solutions. Adrian Rossouw: “Drupal Teddy Bear”, http://developmentseed.org
  • 13. Solutions ● Translation Management ● Custom, built with i18n + … ● Multilingual install profile? http://drupal.org/project/drupali18n Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 14. The translation puzzle Or how to build a multilingual solution
  • 15. Toolset Variable translation String translation i18n Translation set Content Selection translation Field translation other Workflow UI Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 16. Multilingual menus? Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 17. Menu items ● Added language field ● Visibility depends on language ● User defined items are translated Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 18. Multilingual Blocks Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 19. Blocks ● Set language to blocks ● Per language visibility ● Translatable blocks Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 20. Multilingual Taxonomy? Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 21. Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 22. Taxonomy ● Per vocabulary options: – Multilingual – Translatable ● Terms can be: – Localizable (strings) – Multilingual (translation set) Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 23. User defined Strings Multilingual Scrabble http://flickr.com/photos/urbanmkr/354776635/ Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 24. Translate interface Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 25. String translation ● Using same UI as Locale ● Textgroups (import, export) ● Localization server ? i18n_string($name, $string, $options) – $name = 'menu:item:1:title' – $name = 'taxonomy:term:1:name' Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 26. String translation (Security) Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 27. Synchronization ● Configurable per content type ● Using Fields Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 28. Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 29. Language selection Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 30. Variable translation Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 31. Variable module http://drupal.org/project/variable Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 32. User profiles Hey, profiles are Fields now! Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 33. Views? http://drupal.org/project/i18n_views Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 34.
  • 35. #1 i18n is an API module, not a Multilingual Solution. http://drupal.org/project/i18n Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 36. #2 Module developers: Please declare your variables! http://drupal.org/project/variable Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 37. Thank you Gracias ขอบคุณ Danke Obrigado Gràcies Eskerrik asko Juspajaraña благодаря Hvala आभारी हुँ Dankon Tänan teid Takk Gratia tibi ago Graciñas Jag tackar Thank you Danku Merci дякую Arigato Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net
  • 38. Jose A. Reyero http://reyero.net @josereyero Jose A Reyero - Drupal Dev Days – Brussels – February 2011 http://reyero.net