SlideShare uma empresa Scribd logo
1 de 38
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

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 30Mahmoud Samir Fayed
 
Programming languages
Programming languagesProgramming languages
Programming languagesSimon 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 programmingRafael Balderosa
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overviewagorolabs
 

Mais procurados (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)
 

Destaque

Twig + drupal 8
Twig + drupal 8Twig + drupal 8
Twig + drupal 8Logan 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 SharepointManuel Pistner
 
Content migration - CSV to Drupal 8
Content migration -  CSV to Drupal 8Content migration -  CSV to Drupal 8
Content migration - CSV to Drupal 8Hector Iribarne
 
Drupal services - Lemberg Solutions
Drupal services - Lemberg SolutionsDrupal services - Lemberg Solutions
Drupal services - Lemberg SolutionsLemberg 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 ThemeSuzanne 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 BasicsJohn Smith
 

Destaque (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
 

Semelhante a 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 sessionJeffrey 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 SupportAcquia
 
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 toGá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 Studyzroger
 
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).pdfRahulSingh190790
 
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.pdfJarellScott
 
Upcoming version of Drupal – Drupal 8
Upcoming version of Drupal – Drupal 8Upcoming version of Drupal – Drupal 8
Upcoming version of Drupal – Drupal 8Softweb Solutions
 
Embrace dynamic PHP
Embrace dynamic PHPEmbrace dynamic PHP
Embrace dynamic PHPPaul Houle
 
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 8Gábor Hojtsy
 
web Based Application Devlopment using PHP
web Based Application Devlopment using PHPweb Based Application Devlopment using PHP
web Based Application Devlopment using PHPmaccodder
 

Semelhante a 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
 

Último

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Último (20)

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

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