Skip to content

Tags are empty when language different #169

Answered by flexchar
flexchar asked this question in Q&A
Discussion options

You must be logged in to vote

I've got an idea!

One is to set Laravel locale to entry's locale when retrieving. It can be achieved by registering retrieved event listener in boot method in app\Providers\NovaServiceProvider.php.

Nova::serving limits scope to Nova request only, thus avoiding registering at other times.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by flexchar
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers
3 participants
Converted from issue

This discussion was converted from issue #31 on September 12, 2022 06:48.