Skip to content

Permit integers as keys #8

@benlinton

Description

@benlinton

Given:

en:
  steps:
    1: "First step"
    2: "Second step"

I'm able to successfully use rails built in translations = t("steps.1").

But text_helpers gem fails = text("steps.1") to find the translation; unless I change 1 to one (which makes it more difficult to iterate over).

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