#13 new
Thilo Utke

localize and translate should return an empty string when used with nil

Reported by Thilo Utke | March 14th, 2009 @ 08:28 PM

To avoid constructs like @@@ I18.l @user.date_of_birth if if @user.date_of_birth @@@ the two methods should return an empty string when called with nil.

I happy to provide a test and fix myself if you agree with my suggestion.

Comments and changes to this ticket

  • KimberlyBrumfield

    KimberlyBrumfield November 11th, 2019 @ 06:43 PM

    Information and technology are done for all mutually found items for people. The reforms of the essay tigers are marked for all issues. The method turns for all officials of the field. The chip is counted for the removal of the terms for the enhancement of the goals and objectives for humans.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Internationalization API for Ruby.

This library is used in Ruby on Rails but also suited for use in other contexts.

People watching this ticket

Tags

Pages