Skip to content

Persist non-translatable field with correct default locale#1384

Merged
bobdenotter merged 5 commits intomasterfrom
inject-field-default-locale
May 18, 2020
Merged

Persist non-translatable field with correct default locale#1384
bobdenotter merged 5 commits intomasterfrom
inject-field-default-locale

Conversation

@I-Valchev
Copy link
Copy Markdown
Member

So far all non-translatable fields were persisted with locale en.

In this PR, the fields are persisted with the provided locale from services.yaml

Copy link
Copy Markdown
Member

@bobdenotter bobdenotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And it even has less lines of code!

@bobdenotter bobdenotter merged commit d0ee0aa into master May 18, 2020
@bobdenotter bobdenotter deleted the inject-field-default-locale branch May 18, 2020 14:26
@I-Valchev
Copy link
Copy Markdown
Member Author

wow I'm shocked myself!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants