16 April 2014

The Ruby Reflector

Topic

I18N

  Source Favicon
Email

…submit helper for your model and action. The default is `:create`, so # you can leave that off. click_on submit(:dependent, :create)

Formulaic uses I18n conventions to find the text of labels and assumes that you are using SimpleForm.

We hope that you enjoy using Formulaic as much as we do, and as always we encourage you to report any problems you might have and to contribute your improvements!

robots.thoughtbot.com Read
  Source Favicon
By John Resig of John Resig over 1 year ago.
Email

I18n = require ( 'i18n-2' ) ;

// Express Configuration

app. configure ( function ( ) {

// ...

// Attach the i18n property to the express request object

// And attach helper methods for use in templates

I18n. expressBind ( app, {

// setup some locales - other locales default to en silently

locales: [ 'en' , 'de' ]

} ) ) ;

// Set up the rest of the Express middleware

app. use ( app. router ) ;

app. use ( express. static ( __dirname …

ejohn.org Read
  Source Favicon
By Fabio Akita of RubyLearning Blog over 1 year ago.
Email

Minimal I18n with Rails 3.2

This guest post is by Fabio Akita , also known as akitaonrails . He is a known Brazilian Ruby Activist and has been the program chairman for Rubyconf Brazil 2012 for the last 5 years. He also co-founded Codeminer 42 , a software boutique specialized in taking care of outsourced work from fledgling startups that need great Rails developers. Fabio has been publicly evangelizing Ruby, Rails and agile techniques since 2006 and has talked around 100 times in conferences around the globe.

rubylearning.com Read
  Source Favicon
By Peter Cooper of Ruby Inside almost 2 years ago.
Email

Redis Store provides a full set of stores ( Cache, I18n, Session, HTTP Cache) for all the modern Ruby frameworks like: Ruby on Rails, Sinatra, Rack, Rack::Cache and I18n. It natively supports object marshalling, timeouts, single or multiple nodes and namespaces.

Talks: Let Your Ruby Programs Talk To You

A gem that hooks into the text to speech tools available on both Mac OS X and Linux.

Savon 1.0 Released: ' Heavy Metal' SOAP Client

rubyinside.com Read
  Source Favicon
By Carlos Antônio of Plataformatec Blog almost 2 years ago.
Email

Today I want to show you a project I've started over a year ago, during Mendicant University core skills course. For those who don't know, Mendicant University is a group of skilled software developers that offer courses, mentoring, and help out the community, started by Gregory Brown , and that nowadays counts with some other awesome folks as part of the staff. I highly recommend taking a look at and enrolling.

Back to I18n, during Mendicant University we were …

blog.plataformatec.com.br Read
  Source Favicon
By Loren Segal of gnuu.org almost 2 years ago.
Email

…support. It's not all there yet, namely we have yet to translate our own templates to be I18n friendly, but documentation writers can use the new yard i18n command to generate ".pot" files for translation to multiple languages. We will be incrementally improving support for I18n support throughout 0.8.x, and eventually this will be a much more seamless process for documentation writers.

A huge thanks goes out to our Japanese friends, Kouhei Sutou ( @kou ) …

gnuu.org Read
  Source Favicon
Email

agibralter ) fixed the ensure_length_of matcher to check for all possible I18n error messages ( 0a8e652 ), meaning our internationalized users aren't left with false negatives in their tests.

Victor Pereira ( vpereira ) added the in_array method ( e40e2cb ) to the ensure_inclusion_of , meaning you can do it { should ensure_inclusion_of(:attribute).in_array(%w[cat dog]) now.

robots.thoughtbot.com Read
  Source Favicon
By Peter Cooper of Ruby Inside 2 years ago.
Email

Copycopter server using Heroku and integrate it in a Rails application through I18n.

PeepCode Play by Play: Jim Weirich

PeepCode continues its Play by Play screencast series with Jim Weirich, the author of the ubiquitous Rake build tool for Ruby and chief scientist at EdgeCase. Want a view over an experienced Rubyist's shoulder? This is a good place to go.

Don't Fear The Threads: Simplify Your Life with JRuby

An epic 161 slide slide-deck …

rubyinside.com Read
  Source Favicon
By Ryan Bates of RailsCasts 2 years ago.
Email

Rails has great internationalization ( I18n) support making it easy to translate static text into other languages, but how do we translate database content? Learn how using Globalize 3 in this episode.

railscasts.com Read
  Source Favicon
By Ryan Bates of RailsCasts 2 years ago.
Email

Copycopter provides a nice interface that clients can use to edit the text in a Rails application. Learn how to deploy a Copycopter server using Heroku and integrate it in a Rails application through I18n.

railscasts.com Read