
Improvement: AR I18n: default attribute name translations
Reported by Yaroslav Markin | September 1st, 2008 @ 08:43 PM
Now:
"I want a login attribute in User model to be translated as Логин"
ru-RU:
activerecord:
attributes:
user:
login: "Логин"
Feature req:
"I want all attributes in my application called login to be translated as Логин by default, except for Admin model -- custom translation"
ru-RU:
activerecord:
attributes:
login: "Логин"
admin:
login: "Custom translation"
Comments and changes to this ticket
-
iain September 1st, 2008 @ 08:46 PM
- Tag changed from activerecord, yaml to activerecord, tiny, yaml
I am suggesting a global scope to avoid name clashes
ru-RU: activerecord: global-attributes: login: "Логин"
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 »
Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff