The show_translation_keys adds a meta-string to the translated string. The
result goes where it would go the orignal string. That's not perfect but it
gives you some clue about what to use. The problem is that if the resulting
string get titleized, the words are capitalized, and the underscores become
spaces.

Reconstructing the string back from titleize, I think that it should work
with:

en:
  event/event_request_types:
   employee:  "Internal People"

ciao
dd


On Mon, May 9, 2011 at 2:25 PM, Matt <[email protected]> wrote:

> I turned on config.hobo.show_translation_keys = true
> to correctly see what I should put in my app.en.yml file for text
> translation.  This has worked great except for a particular select
> box:
>
> [En.Event/Event Request Types.Employee]Employee
>
> So, when I try to put
> En:
>  Event/Event Request Types:
>    Employee:  "Internal People"
>
> it fails.  I make sure there are two additional spaces for each line,
> and I've tried endless combinations.  I'm not sure why the translation
> wants to to include spaces (yes, those are spaces before and after
> 'Request'....... why it wants En instead of en, and why it wants a
> slash character /.
>
> --
> 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.
>
>

-- 
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.

Reply via email to