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

English translations texts for cookie consent not set although set in TS #39

Closed
micron opened this issue May 14, 2020 · 3 comments
Closed

Comments

@micron
Copy link

micron commented May 14, 2020

I was trying to set the english consent text as described in the documentation. Unfortunately, the english texts are ignored although they're set in Typoscript. The german texts work as they should.

My TS Setup:

plugin.tx_dp_cookieconsent {
	_LOCAL_LANG {
		de {
			message = Some german text which are displayed properly
		}
		en {
			message = English text is ignored
		}
	}
}

My environment:

dp_cookieconsent@10.5.1
TYPO3@9.5.16
PHP 7.2

@DirkPersky
Copy link
Owner

use instead of "en" the "default" than it should work.

@DirkPersky
Copy link
Owner

plugin.tx_dp_cookieconsent {
	_LOCAL_LANG {
		de {
			message = Some german text which are displayed properly
		}
		default {
			message = English text 
		}
	}
}

@micron
Copy link
Author

micron commented May 15, 2020

Worked like a charm. Thank you!

@micron micron closed this as completed May 15, 2020
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