Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3731737f2e
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (22 sloc) 1.873 kb

No Hablo

No Hablo is a demo Shopify application that uses micropayments, metafields, and background jobs. It will translate each of your product descriptions to a new language.

This app is meant as a learning tool and not to be used in production. Mostly because it uses Google Translate for the translations and since I only speak English I can’t comment on the quality of Google Translate results.

Points of interest

As this app is meant as a learning tool for Shopify developers, here are a few points of interest:

  1. login_controller.rb:23
    Here we create a Shop object local to this application when the user logs in for the first time.
  1. shop.rb:11
    Read the comment for the gist.
  1. translation_controller:42 and payment_notification_controller
    These two pieces together show how to handle the creation of a charge, subsequent redirection to the confirmation and updating of local data.
  1. translation.rb:8
    This method is called by DJ in a background task. It illustrates how to initialize and de-initialize the API with the shop’s site string in a background task.

How to get it started

git clone git://
cd no-hablo
sudo rake gems:install
rake db:migrate

Go to your Shopify Partners account and create a new application.
Stick the new Api Key and Secret into config/shopify.yml

Jump to Line
Something went wrong with that request. Please try again.