Skip to content

Allow translation of keys with dashes#40

Open
MisatoTremor wants to merge 1 commit intoElao:masterfrom
MisatoTremor:feature/translate-data-attributes
Open

Allow translation of keys with dashes#40
MisatoTremor wants to merge 1 commit intoElao:masterfrom
MisatoTremor:feature/translate-data-attributes

Conversation

@MisatoTremor
Copy link
Copy Markdown

This small PR allows to use dashes in the key config. This allows to translate data attributes (i.e. data-title)

If not disabled Symfony will replace such dashes with underscores, making it impossible to use these keys.

@MisatoTremor MisatoTremor force-pushed the feature/translate-data-attributes branch from ad1a10e to 3465cbc Compare July 11, 2022 13:34
@MisatoTremor
Copy link
Copy Markdown
Author

Rebased

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants