Coder Social home page Coder Social logo

gethopscotch / hopscotch-translations Goto Github PK

View Code? Open in Web Editor NEW
0.0 7.0 2.0 153 KB

App for interacting with gengo to translate Hopscotch localizable.strings files

Ruby 83.80% JavaScript 8.88% CoffeeScript 0.07% CSS 1.07% HTML 3.82% Slim 2.35%

hopscotch-translations's Introduction

Hopscotch-Translations

App for interacting with gengo to translate Hopscotch localizable.strings files

Note: if you are experiencing errors, the first thing to check is whether you are out of money on Gengo

Getting Started

  1. Run ./hs_do_translations from the iPad app's directory.
  2. Wait for stuff to be translated. Check Gengo.com
  3. Run ./hs_get_translations from the iPad app's directory

Translating Release Notes

  • Get heroku access from Sam and set up heroku as a remote
  • Add the release notes to the translations website (form at the end of the english words list)
  • heroku run rake gengo:translate
  • Wait for translations to finish
  • Check on https://gengo.com/c/dashboard/ that the translations are finished (get username and password from Sam)
  • heroku run rake gengo:sync_all

Setting up translations locally.

  • Make sure you set up config/application.yml (Ask Sam for help)

Common Errors

  • Bad entry in file Hopscotch/Helpers/HSHelp.m (line = 56): Argument is not a literal string. Ignore this error. We are taking care of those translations separately.
  • If you see: Gengo::Exception: Gengo::Exception /app/vendor/bundle/ruby/2.0.0/gems/gengo-0.0.5/lib/gengo-ruby/api_handler.rb:161:in send_to_gengo' /app/vendor/bundle/ruby/2.0.0/gems/gengo-0.0.5/lib/gengo-ruby/api_handler.rb:255:in postTranslationJobs' It means you are probably out of money on Gengo and need to add money before continuing.

hopscotch-translations's People

Contributors

samanthamjohn avatar samjohn avatar tsabend avatar dependabot[bot] avatar ashaegupta avatar jbrennan avatar t1-tracey avatar

Watchers

Loren Brichter avatar Andy Pliszka avatar  avatar Ryan Thomas Correia Ortega avatar Fernando Garcia avatar Jorge Andrade avatar Hopscotch Bot avatar

Forkers

rcorreia tsabend

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.