Skip to content

Enum collection in yml now singular instead of plural #141

Description

@jjinkxy

I just want to double check, but in the 1.x version it was advised to name the enum collection in the plural form in the i18n yaml file eg.

de:
   enums:
     genders:
       female: 'Frau'
       male: 'Mann'

Now, for 2.x, its advised to name them in the singular form eg.

de:
   enums:
     gender:
       female: 'Frau'
       male: 'Mann'

Is this correct? Otherwise the ViewHelpers wont work?

If so, could this be added to the 1.x-to-2.x-Migration-Guide?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions