[TYPO3-rte] RTE Plugin and locallang.xml
R. van Twisk
typo3 at rvt.dds.nl
Sat Oct 16 04:59:03 CEST 2010
On Sat, 16 Oct 2010 01:57:03 +0000, R. van Twisk wrote:
> Hello!
>
> I am writing a plugin for rtehtmlarea, and this works now all fine,
> except that my language labels are not used on the client side.
>
> From the documentation I read that my locallang.xml should be placed
> within the extension here: htmlarea/plugins/<my plugin
> name>/locallang.xml
>
> And this is the case, I can even see a reference in one of teh file in
> the directory : typo3temp/llxml
>
> Should I do anything special to let rtehtmlarea load my plugin's
> language file,
> or is does done by rtehtmlarea by naming convention?
>
> Ries
I figured out what was going on,
I initialised the plugin incorrectly.
I initialised it like this:
HTMLArea.replaceuid = HTMLArea.Plugin.extend({
instead of
replaceuid = HTMLArea.Plugin.extend({
Apparently my plugin did work, but the language wasn't found.
Ries
More information about the TYPO3-project-rte
mailing list