Reputation: 101
I like to change the labels of pw_comments
to german.
Until now I've tried to work with TypoScript, but this does not work:
plugin.tx_pwcomments._LOCAL_LANG.default.tx_pwcomments.comment = Kommentar
The page is in german language only, for that reason it is fine to change the defaults.
Can you help?
Upvotes: 0
Views: 149
Reputation: 101
A possible resolution is to copy
typo3conf/ext/pw_comments/Resources/Private/Language/de.locallang.xlf
to
typo3conf/l10n/de/pw_comments/Resources/Private/Language/de.locallang.xlf
what do you think about this?
Upvotes: 0
Reputation: 10791
regarding language indexes default
means english in TYPO3.
you need to differentiate between your current language and the language index for translations.
in this way you need to use
plugin.tx_pwcomments._LOCAL_LANG.de.tx_pwcomments.comment = Kommentar
to set a german label if you have configured your site to use german language (which you should do to have a clean language handling).
and don't forget to load all german translations:
ADMIN TOOLS
-> Maintenance
-> Manage Language Packs
->
ADMINWERKZEUGE
-> Wartung
-> Manage Language Packs
-> (German BackEnd Labels)
Upvotes: 1