Skip to content

I18n "lazy" lookup is not supported. #8

@nagyt234

Description

@nagyt234

In the case of I18n "lazy" lookup missing_t treats it as missing translation and generates yaml with missing key. E.g. the following code in app/views/transmittals/index.html.erb uses "lazy" lookup :

<th><%= sort_link @search, :transmitted_at, t('.transmitted_at') %></th>

Starting missing_t it outputs the following, what is wrong:

en:
  :
    transmitted_at:

However config/locales/en.yml contains the following lines:

en:
...
  transmittals:
    index:
      transmitted_at: "Sent"

See http://guides.rubyonrails.org/i18n.html#lazy-lookup about I18n "lazy" lookup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions