SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
DITA translatability
   best practices
                   Brought to you by
                   @Fantpmas
                         from
               @YamagataEurope


••••••••••••••••••••                   www.yamagata-europe.com
Yamagata Europe
 We write                            I support

 We translate                    I know XML

 We do the layout              I know RegEx

 We print                        I know tools

 We package & ship     I manage QA Distiller

 We create software            I troubleshoot

••••••••••••••••••••      www.yamagata-europe.com
Use DITA's internationalisation attributes

              xml:lang

                       dir

              translate

      They're in there for a friggin reason


••••••••••••••••••••               www.yamagata-europe.com
Use the translate attribute to make everyone




                        YES = YES
                        NO = NO

 Don't mention <term translate="no">Project X</term> to my mom.




••••••••••••••••••••                          www.yamagata-europe.com
Use the xml:lang attribute to identify language




           <section id="Magritte" xml:lang="fr">
             <title>Consignes de sécurité</title>
        <p id="A">Danger, ceci n'est pas une pipe</p>



••••••••••••••••••••                       www.yamagata-europe.com
Use the dir attribute for LTR/RTL content




The title is "<term dir="rtl" xml:lang="ar">!‫مفتاح معايير الويب‬‎ /term>" in Arabic.
                                                               <‎




     ••••••••••••••••••••                                 www.yamagata-europe.com
Tag your terminology

                        And I mean it!



••••••••••••••••••••                www.yamagata-europe.com
Key benefits

          Important terminology is identified

             Ability to lock / unlock terms

              Automatic term extraction

              Automatic quality control



••••••••••••••••••••                      www.yamagata-europe.com
Click <uicontrol>Configure</uicontrol>.

                   Configure the options to your wish.




Press <uicontrol class="Windows">Select</uicontrol> to browse to the file.

 Choose <uicontrol class ="QA Distiller">Select</uicontrol> to add a file.




••••••••••••••••••••                                   www.yamagata-europe.com
Use the conref attribute wisely




       Or it will come back to haunt you


••••••••••••••••••••              www.yamagata-europe.com
Use conrefs for complete sentences


     <result>The suspect is apprehended.</result>
                       <postreq>
<note conref=”reuse.dita#reusablephrases/ReadRights”/>
                       </postreq>




••••••••••••••••••••                   www.yamagata-europe.com
Avoid using conrefs for common nouns


Using a <keyword conref=”tools.dita#tools/Crowbar”/>, remove the Dragon
                       spacecraft from the ISS.


   Adding <keyword conref=”servers.dita#servers/Fileserver”/>s is easy.




                                                          Big no no
••••••••••••••••••••                                 www.yamagata-europe.com
Resolve or flatten conrefs prior to translation




••••••••••••••••••••                www.yamagata-europe.com
Write stand-alone units of text


            Not only great for re-use, but

              Translators will      you




••••••••••••••••••••                      www.yamagata-europe.com
Traditional book order is gone




••••••••••••••••••••              www.yamagata-europe.com
Mind the spaces


  Click·<uicontrol>Start·</uicontrol>to·shut·down.

Druk·op·<uicontrol>Start</uicontrol>om·af·te·sluiten.




   ••••••••••••••••••••              www.yamagata-europe.com
Provide reference material




••••••••••••••••••••              www.yamagata-europe.com
Annotate where needed



              Do it for your own sanity

              but also for the translators




••••••••••••••••••••                         www.yamagata-europe.com
<!- - Some mumbo jumbo legacy code, don't touch or universe will implode - ->



 <draft-comment author="EBP" disposition="completed">This section deals
           with our other top-secret project</draft-comment>



 <note type="other">This stuff is important as this is the abstract sent to our
               CEO (and he has no sense of humour)</note>




  ••••••••••••••••••••                                   www.yamagata-europe.com
Conclusions

 DITA provides excellent mechanisms to remove doubt

               Be careful with conrefs

                       KISS




••••••••••••••••••••                     www.yamagata-europe.com

Mais conteúdo relacionado

Semelhante a DITA translatability best practices

The Enterprise Architecture You Always Wanted
The Enterprise Architecture You Always WantedThe Enterprise Architecture You Always Wanted
The Enterprise Architecture You Always Wanted
Thoughtworks
 
Twiggy - let's get our widget on!
Twiggy - let's get our widget on!Twiggy - let's get our widget on!
Twiggy - let's get our widget on!
Elliott Kember
 

Semelhante a DITA translatability best practices (20)

The Enterprise Architecture You Always Wanted
The Enterprise Architecture You Always WantedThe Enterprise Architecture You Always Wanted
The Enterprise Architecture You Always Wanted
 
Tweakers Anonymous
Tweakers AnonymousTweakers Anonymous
Tweakers Anonymous
 
Freeing the cloud, one service at a time
Freeing the cloud, one service at a timeFreeing the cloud, one service at a time
Freeing the cloud, one service at a time
 
Ajaxworld07
Ajaxworld07Ajaxworld07
Ajaxworld07
 
Ajaxworld07
Ajaxworld07Ajaxworld07
Ajaxworld07
 
T5 Oli Aro
T5 Oli AroT5 Oli Aro
T5 Oli Aro
 
HTML5 History & Features
HTML5 History & FeaturesHTML5 History & Features
HTML5 History & Features
 
Repositories as Code
Repositories as CodeRepositories as Code
Repositories as Code
 
BSides São Paulo - Trabalho no exterior e segurança de aplicações
BSides São Paulo - Trabalho no exterior e segurança de aplicaçõesBSides São Paulo - Trabalho no exterior e segurança de aplicações
BSides São Paulo - Trabalho no exterior e segurança de aplicações
 
Mind Your lang — Accessibility Camp Toronto 2016
Mind Your lang — Accessibility Camp Toronto 2016Mind Your lang — Accessibility Camp Toronto 2016
Mind Your lang — Accessibility Camp Toronto 2016
 
The Enterprise Architecture you always wanted: A Billion Transactions Per Mon...
The Enterprise Architecture you always wanted: A Billion Transactions Per Mon...The Enterprise Architecture you always wanted: A Billion Transactions Per Mon...
The Enterprise Architecture you always wanted: A Billion Transactions Per Mon...
 
Smart Client Development
Smart Client DevelopmentSmart Client Development
Smart Client Development
 
Pinto+Stratopan+Love
Pinto+Stratopan+LovePinto+Stratopan+Love
Pinto+Stratopan+Love
 
No locked doors, no windows barred: hacking OpenAM infrastructure
No locked doors, no windows barred: hacking OpenAM infrastructureNo locked doors, no windows barred: hacking OpenAM infrastructure
No locked doors, no windows barred: hacking OpenAM infrastructure
 
Blueprint talk at Open Hackday London 2009
Blueprint talk at Open Hackday London 2009Blueprint talk at Open Hackday London 2009
Blueprint talk at Open Hackday London 2009
 
Security Checklist for TYPO3
Security Checklist for TYPO3Security Checklist for TYPO3
Security Checklist for TYPO3
 
Twiggy - let's get our widget on!
Twiggy - let's get our widget on!Twiggy - let's get our widget on!
Twiggy - let's get our widget on!
 
Message passing
Message passingMessage passing
Message passing
 
Building reusable components with generics and protocols
Building reusable components with generics and protocolsBuilding reusable components with generics and protocols
Building reusable components with generics and protocols
 
Integrated Feature Management - Using Feature Flags - MidwestPHP
Integrated Feature Management - Using Feature Flags - MidwestPHPIntegrated Feature Management - Using Feature Flags - MidwestPHP
Integrated Feature Management - Using Feature Flags - MidwestPHP
 

Mais de Yamagata Europe (7)

Smart QA
Smart QASmart QA
Smart QA
 
Machine Translation Quality Metrics
Machine Translation Quality MetricsMachine Translation Quality Metrics
Machine Translation Quality Metrics
 
A standards driven workflow for Sitecore localization
A standards driven workflow for Sitecore localizationA standards driven workflow for Sitecore localization
A standards driven workflow for Sitecore localization
 
QA Distiller
QA DistillerQA Distiller
QA Distiller
 
SnellSpell
SnellSpellSnellSpell
SnellSpell
 
Machine translation
Machine translationMachine translation
Machine translation
 
An Introduction to Regular expressions
An Introduction to Regular expressionsAn Introduction to Regular expressions
An Introduction to Regular expressions
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

DITA translatability best practices

  • 1. DITA translatability best practices Brought to you by @Fantpmas from @YamagataEurope •••••••••••••••••••• www.yamagata-europe.com
  • 2. Yamagata Europe We write I support We translate I know XML We do the layout I know RegEx We print I know tools We package & ship I manage QA Distiller We create software I troubleshoot •••••••••••••••••••• www.yamagata-europe.com
  • 3. Use DITA's internationalisation attributes xml:lang dir translate They're in there for a friggin reason •••••••••••••••••••• www.yamagata-europe.com
  • 4. Use the translate attribute to make everyone YES = YES NO = NO Don't mention <term translate="no">Project X</term> to my mom. •••••••••••••••••••• www.yamagata-europe.com
  • 5. Use the xml:lang attribute to identify language <section id="Magritte" xml:lang="fr"> <title>Consignes de sécurité</title> <p id="A">Danger, ceci n'est pas une pipe</p> •••••••••••••••••••• www.yamagata-europe.com
  • 6. Use the dir attribute for LTR/RTL content The title is "<term dir="rtl" xml:lang="ar">!‫مفتاح معايير الويب‬‎ /term>" in Arabic. <‎ •••••••••••••••••••• www.yamagata-europe.com
  • 7. Tag your terminology And I mean it! •••••••••••••••••••• www.yamagata-europe.com
  • 8. Key benefits Important terminology is identified Ability to lock / unlock terms Automatic term extraction Automatic quality control •••••••••••••••••••• www.yamagata-europe.com
  • 9. Click <uicontrol>Configure</uicontrol>. Configure the options to your wish. Press <uicontrol class="Windows">Select</uicontrol> to browse to the file. Choose <uicontrol class ="QA Distiller">Select</uicontrol> to add a file. •••••••••••••••••••• www.yamagata-europe.com
  • 10. Use the conref attribute wisely Or it will come back to haunt you •••••••••••••••••••• www.yamagata-europe.com
  • 11. Use conrefs for complete sentences <result>The suspect is apprehended.</result> <postreq> <note conref=”reuse.dita#reusablephrases/ReadRights”/> </postreq> •••••••••••••••••••• www.yamagata-europe.com
  • 12. Avoid using conrefs for common nouns Using a <keyword conref=”tools.dita#tools/Crowbar”/>, remove the Dragon spacecraft from the ISS. Adding <keyword conref=”servers.dita#servers/Fileserver”/>s is easy. Big no no •••••••••••••••••••• www.yamagata-europe.com
  • 13. Resolve or flatten conrefs prior to translation •••••••••••••••••••• www.yamagata-europe.com
  • 14. Write stand-alone units of text Not only great for re-use, but Translators will you •••••••••••••••••••• www.yamagata-europe.com
  • 15. Traditional book order is gone •••••••••••••••••••• www.yamagata-europe.com
  • 16. Mind the spaces Click·<uicontrol>Start·</uicontrol>to·shut·down. Druk·op·<uicontrol>Start</uicontrol>om·af·te·sluiten. •••••••••••••••••••• www.yamagata-europe.com
  • 18. Annotate where needed Do it for your own sanity but also for the translators •••••••••••••••••••• www.yamagata-europe.com
  • 19. <!- - Some mumbo jumbo legacy code, don't touch or universe will implode - -> <draft-comment author="EBP" disposition="completed">This section deals with our other top-secret project</draft-comment> <note type="other">This stuff is important as this is the abstract sent to our CEO (and he has no sense of humour)</note> •••••••••••••••••••• www.yamagata-europe.com
  • 20. Conclusions DITA provides excellent mechanisms to remove doubt Be careful with conrefs KISS •••••••••••••••••••• www.yamagata-europe.com