Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example with tl_user not working? #53

Closed
fritzmg opened this issue May 23, 2019 · 2 comments
Closed

example with tl_user not working? #53

fritzmg opened this issue May 23, 2019 · 2 comments
Assignees

Comments

@fritzmg
Copy link
Sponsor Contributor

fritzmg commented May 23, 2019

I was trying to make some fields of tl_user translatable. I added the configuration, just like it is explained in the README: https://github.com/terminal42/contao-DC_Multilingual#example-usage

However, when switching the dataContainer to Multilingual, the back end (at least in Contao 4.7.6) does not show any database entries in the user management anymore.

Is there something I am missing?

@fritzmg
Copy link
Sponsor Contributor Author

fritzmg commented May 23, 2019

Ah, the problem is, that tl_user already contains a field called language - which is the user's language and has nothing to do with the translations. DC_Multilingual automatically adds a filter on the configured language field and thus this causes no entries to be shown anymore, as it then filters by tl_user.language = ''.

So the example in the README should be updated to something else :). May be tl_news or something.

qzminski added a commit that referenced this issue Jun 4, 2019
@qzminski qzminski self-assigned this Jun 4, 2019
@qzminski
Copy link
Member

qzminski commented Jun 4, 2019

Thanks, I changed this in 644ceb3.

@qzminski qzminski closed this as completed Jun 4, 2019
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

No branches or pull requests

2 participants