#15 ✓invalid
Nando Vieira

Wrong argument interpolation

Reported by Nando Vieira | April 25th, 2009 @ 07:00 AM

When setting a translation string to "Página %d" the following error message is raised:


interpolation argument count missing in "Página {{count}}"

This is an incorrectly behavior because I'm not asking for {{count}} interpolation. The interpolation should be applied only on braces placeholders, as extensively documented.

Comments and changes to this ticket

  • Sven Fuchs

    Sven Fuchs July 5th, 2009 @ 11:04 PM

    • State changed from “new” to “invalid”

    Hi Nando,

    this behaviour is intended and due to backwards compatibility w/ older Rails versions (should also issue a deprecation warning). It will be removed in the next Rails version.

    Please reopen the ticket if I'm missing something here.

  • Gustavo	Peters

    Gustavo Peters September 28th, 2018 @ 09:18 AM

    Wrong argument interpolation is a developmental blog and people will read this blog after making it clear. This blog is a best blog for the essaypro.com reliable ideologies and people will love it.

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

Pages