Automating Content Translation Workflow with Transifex

27
@radhikapc Automating Content Translation Workflow with Transifex For Apache CloudStack (ACS)

description

A session given at FUEL GILT Conference 2013

Transcript of Automating Content Translation Workflow with Transifex

Page 1: Automating Content Translation Workflow with Transifex

@radhikapc

Automating Content Translation Workflow with Transifex

For Apache CloudStack (ACS)

Page 2: Automating Content Translation Workflow with Transifex

Credits

• Sebastien Goasguen

• David Nalley

• Apache CloudStack Community

• Dimitris Glezos

• Fuel Gilt

Page 3: Automating Content Translation Workflow with Transifex

Agenda

•ACS Documentation Overview

•ACS Translation Concepts and Process

•Using Transifex Website

•Using Transifex Client

Page 4: Automating Content Translation Workflow with Transifex

•ACS Documentation Overview

•ACS Translation Concepts and Process

•Using Transifex Website

•Using Transifex Client

Page 6: Automating Content Translation Workflow with Transifex

The Apache Documentation

Process

• Functional Spec discussions on [email protected]

• Sign up for a feature

• Documentation Reviews through Apache Review Board—https://reviews.apache.org/

• Defects are filed at https://issues.apache.org/jira/browse/CLOUDSTACK

Page 7: Automating Content Translation Workflow with Transifex

Apache Review Board

7

Submit a Jira Ticket

Clone Git

Ship it!

Submit a Patch

Page 8: Automating Content Translation Workflow with Transifex

•ACS Documentation Overview

•ACS Translation Concepts and Process

•Using Transifex Website

•Using Transifex Client

Page 10: Automating Content Translation Workflow with Transifex

•ACS Documentation Overview

•ACS Translation Concepts and Process

•Using Transifex Website

•Using Transifex Client

Page 11: Automating Content Translation Workflow with Transifex

Sign Up

Page 12: Automating Content Translation Workflow with Transifex

Dashboard

Page 13: Automating Content Translation Workflow with Transifex

Search for ACS Projects

Page 14: Automating Content Translation Workflow with Transifex

Pick Up an ACS Project

Page 15: Automating Content Translation Workflow with Transifex

Check the Resources

Page 16: Automating Content Translation Workflow with Transifex

Pick One Resource

Page 17: Automating Content Translation Workflow with Transifex

Check the Languages

Page 18: Automating Content Translation Workflow with Transifex

Translate Strings

Page 19: Automating Content Translation Workflow with Transifex

View the Progress

Page 20: Automating Content Translation Workflow with Transifex

•ACS Documentation Overview

•ACS Translation Concepts and Process

•Using Transifex Website

•Using Transifex Client

Page 21: Automating Content Translation Workflow with Transifex

Transifex Client (tx)

• Sign up on the Website

• Use Command Line

pip install transifex-client

Page 22: Automating Content Translation Workflow with Transifex

Setup a Project

Initialize a transifex project on your computer: $ mkdir txproject

$ cd txproject

$ tx init

Page 23: Automating Content Translation Workflow with Transifex

Linking to ACS Transifex Project

Main Documentation:

$ tx set --auto-remote https://www.transifex.com/projects/p/ACS_DOCS/

Pull all resources for the project

$ tx pull –s

Pull existing translations:

$ tx pull –a

Page 24: Automating Content Translation Workflow with Transifex

Translate

Pick a resource and make a copy with the language code of your target language, for example:

$ cp translations/ACS_DOCS.pod-add/en.po translations/ACS_DOCS.pod-add/ml_IN.po

Enter your translation in the msgstr lines:

$ vi translations/ACS_DOCS.pod-add/ml_IN.po

Push your translation

$ tx push -l ml_IN -r ACS_DOCS.pod-add -t

(replace the language code and the resource name with yours)

Page 25: Automating Content Translation Workflow with Transifex

Building the Final Documentation

• Pull the Strings Directly to the Source Code (ACS committers)

• Build the Guides

$ publican build --format=pdf --langs=ml_IN --config=publican-

adminguide.cfg

Page 27: Automating Content Translation Workflow with Transifex

Q & A