$30 off During Our Annual Pro Sale. View Details »

How We Continuously Translate RailsGuides (short version)

How We Continuously Translate RailsGuides (short version)

This is the short version of the following slides.

How We Continuously Translate RailsGuides
https://speakerdeck.com/yasulab/how-we-continuously-translate-railsguides
(* Especially, omit its business things and focus on tech things.)

RailsGuides in Japanese: http://railsguides.jp/
Demo Movies: https://yasslab.wistia.com/projects/4msq4voot3

## Related Repositories

- yasslab/railsguides.jp: https://github.com/yasslab/railsguides.jp
- yasslab/konjak: https://github.com/yasslab/konjak
- yasslab/gtt-downloader: https://github.com/yasslab/gtt-downloader
- yasslab/translation-api-examples: https://github.com/yasslab/translation-api-examples
- yasslab/hamidashi: https://github.com/yasslab/hamidashi

## Provided by

YassLab - Having a Good Life with OpenSource ;)
http://yasslab.jp/en/

Yohei Yasukawa

October 22, 2015
Tweet

More Decks by Yohei Yasukawa

Other Decks in Technology

Transcript

  1. )PX8F$POUJOVPVTMZ5SBOTMBUF
 3BJMT(VJEFTJOUP+BQBOFTF GPS-5  !ZBTVMBC GPVOEFSPG:BTT-BC

  2. *`NDPGPVOEFSPG3BJMT5FDI%PDT 5SBOTMBUJPO1SPKFDUTJODF

  3. In Japan, you can find them by googling ’Rails’

  4. Often-used by Ruby communities and help many Rails starters in

    Japan
  5. so got awarded by Matz in 2014

  6. ܧଓత຋༁γεςϜ Continuous Translation System

  7. A Software System that 
 Continuously Updates for Growing-up Contents

  8. Origin Gengo API Heroku Gumroad HTML PDF / EPUB Intermediate

    Format Scaffold Basic Translation Picture of the System
  9. Heroku Gumroad HTML PDF / EPUB Monitoring and Feedback Origin

    Gengo API Intermediate Format Scaffold Basic Translation
  10. Heroku Gumroad HTML PDF / EPUB Monitoring original Repo Origin

    Gengo API Intermediate Format Scaffold Basic Translation
  11. NFSHFVQTUSFBNTDSJQU

  12. %&.0NFSHFVQTUSFBN

  13. Heroku Gumroad HTML PDF / EPUB Giving Feedbacks to Original

    Origin Intermediate Format Gengo API Scaffold Basic Translation
  14. &BTJFSJGZPVDBOMPDBMMZEPXOMPBE BOEDIFDLUIFMBUFTUWFSTJPO

  15. .JTUBLFTBSF1VMM3FRVFTU$IBODF

  16. 0OFPGVTHPUrails/docrails DPNNJUCJU

  17. :PVDBOCFJO3BJMT0SHBOJ[BUJPO

  18. Heroku Gumroad HTML PDF / E Build a scaffold of

    translation Origin Intermediate Format Scaffold Basic Translation Gengo API
  19. Google’s one is great for launch. TRANSLATOR TOOLKIT (But NOT

    good for continuous updates because it costs a lot and can’t automate)
  20. TRANSLATION MEMORY Tech for Re-using Translation Cut into a segment

    Translate by segment
  21. TRANSLATION MEMORY But no APIs provided by GTT Cut into

    a segment Translate by segment
  22. yasslab / gtt-downloader So, automate browser operations (But this is

    NOT a good solution because it needs to follow GTT changes)
  23. DEMO: GTT Downloader

  24. Heroku Gumroad HTML PDF / E Automate Updates by Gengo

    Gengo API Intermediate Format Scaffold Basic Translation Origin
  25. TRANSLATION MEMORY GTT can export TMX file Cut into a

    segment Translate by segment
  26. yasslab / konjak Handle TMX and Get a diff

  27. INTEGRATE W/ GENGO And send it to Gengo API

  28. Register original repo and target branch

  29. Automatically collect new commits that need to translate by hand

    (or by Gengo)
  30. We’re planning on releasing this
 as a web service for

    other OSS projects
  31. Scaffold Basic Translation Heroku Gumroad HTML PDF / EPUB Gengo

    API Intermediate Format Origin Generate HTML / Test / Deploy
  32. TEST

  33. HTML GENERATOR

  34. TIPS: LINK TO YOUR PRODUCT

  35. Scaffold Basic Translation Heroku Gumroad HTML PDF / EPUB Intermediate

    Format Gengo API Origin Generate Ebook / Test / Deploy
  36. MARKDOWN -> REVIEW

  37. DEMO: Markdown to ReVIEW (1/2)

  38. DEMO: Markdown to ReVIEW (2/2)

  39. yasslab / hamidashi Test if printed outside area

  40. EBOOK GENERATOR

  41. PUBLISH BY GUMROAD API

  42. from http://railsguides.jp/

  43. DEMO: Ebook Edition

  44. Over 1,000 pages (PDF)

  45. Heroku Gumroad HTML PDF / EPUB Origin Gengo API Intermediate

    Format Scaffold Basic Translation
  46. ༧ࢉΛ૿΍͢ (VJEFT 5VUPSJBM

  47. ܧଓత຋༁γεςϜ Continuous Translation System

  48. by making money,

  49. by reducing costs,

  50. CF"-8":4GSFTIEPDT

  51. /PUBOPOFTIPUUSBOTMBUJPOQSPKFDU  CVUCFBDPOUJOVPVTMZSVOOBCMFQSPKFDU Be Continuous

  52. )PX8F$POUJOVPVTMZ5SBOTMBUF
 3BJMT(VJEFTJOUP+BQBOFTF GPS-5  !ZBTVMBC GPVOEFSPG:BTT-BC

  53. provided by http://yasslab.jp/