Closed felix91gr closed 4 years ago
What I'm trying to ask is this: can I translate the labels? And if so, how?
@felix91gr Hi Felix, you'll have to use Translation model keys, such as:
en:
activerecord:
attributes:
initiative/translation:
title: "Custom title"
summary: "Summary text"
Holy shit @scarfacedeb, you both answered quickly and with what I needed. Thank you so much <3
Hi,
I'm using the gem for translating 3 fields, Title, Summary and Description:
However, I've been trying to localize the field labels ("Title", "Summary", "Description") to my 3 locales, with no success. I'm using the traditional path to translating my model names and attributes, that is, for each locale, using the name
locale.activerecord.{attributes, models}.*
.Here is the page of our project, this is how my localization files look and this is how my rails admin initializer looks.