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 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 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.
-
Quentra Ramm April 1st, 2019 @ 11:15 AM
I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work feeds.
-
david001 August 9th, 2019 @ 03:29 PM
it’s really helpful for me I like to read this article, thank you so much for share this awesome blog. you can visit for many amazing tips&Hacks
-
Leo Reo July 19th, 2021 @ 05:39 PM
I really love how clever this site was made japanese roof tiles suppliers
-
Leo Reo August 10th, 2021 @ 04:32 PM
Glad my time is not wasted because this group's content is bomb
-
Joy August 21st, 2021 @ 02:06 PM
Try to upgrade the app to the latest version? It might work. Roof tiles philippines
-
Irene August 21st, 2021 @ 02:17 PM
One of my colleagues experienced a similar issue using the Rails 4 branch of Ransack. There might be conflicts between translation gems and ransack. Handicap Door opener
-
Wendy August 21st, 2021 @ 02:27 PM
Do you have a small example app that creates the same problem? Naperville Limos
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.
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.