9

Click here to load reader

CI-18n

Embed Size (px)

Citation preview

Page 1: CI-18n

CI-18N

https://github.com/mcollina/ci-

18n

@matteocollina

Page 2: CI-18n

JavaScript

is the Future of the web

Page 3: CI-18n

We don't live all in the US

Japan

France

Germa

ny

Italy?

Page 4: CI-18n

We need

I18n for

JavaScript

Page 5: CI-18n

ci-18n

Requires rails 3.1

In your Gemfile:

gem "ci-18n"

Page 6: CI-18n

ci-18n

In your application.js:

I18n.autoloadAndSetup({path: '/locales', default: 'en'})

Page 7: CI-18n

ci-18n

It support both '.t' and '.l' of Ruby I18n API

$i18n.t("hello.world", { name: "John" })

=>

"Hello World John"

Page 8: CI-18n

ci-18n

Developers & Testers Needed

Page 9: CI-18n

Thanks

Matteo Collina

http://matteocollina.com

ci-18n

https://github.com/mcollina/ci-18n