In the MySQL table there is an Employees table with the following fields:
legalname : string
phonename : string
nickname : string
and here's my app.en.yml file:
en:
hello: "Hello world"
activerecord:
attributes:
employee: legalname
legalname: Legal Name
The idea is to make it so that when I first enter the Employees tab, it will
use
the field legalname instead of looking for a field called "name". And to
relabel the field legalname, when viewing or editing an individual employee, to
something more readable like Legal Name.
The last working file was missing the part "legalname" after "employee:" and it
did relabel Legal Name correctly. So I know I'm close. Instead of seeing
Employee1 on the intro list...I would like to see "Arthur E. Baldwin" from the
contents of the database field legalname.
Arthur
OK what is going on here! I read both of the fully released books and did a
Find operation on app.en.yml but there was absolutely no reference to it! So I
think it's a new feature in 1.3 that has not been documented yet. In the new
beta book, it is mentioned but much of that is crossed out in the .docx
version. And the ViewHints directory is missing from 1.3...so I can't use that
method either. I'm getting desperate and very, very upset...would someone
PLEASE give me some help!!!! By the way, I Googled for "app.en.yml" and it
returned only 15 results, none of which were useful. Is the "i18n" portion of
hobo being abandoned...or is it just slow? The approach of using app.en.yml
seems like a wonderful idea...but I need to know how to use it.
Arthur
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.