You can't currently use locale.module to translate the long filter help tips for bbcode.module.

The help text is correctly wrapped in a t() function, but I'm assuming because it's included from the main bbcode.module, and doesn't appear inline, that locale.module doesn't find it. So this may be a bug in locale.module, but can easily be fixed here by getting rid of bbcode-help.inc.

I'll post a patch soon, but I'm also cleaning up the help text to go along with it...

Comments

gábor hojtsy’s picture

The long help text can definitely be translated. If you have problems with the text not appearing in a generated .po file, then you have not included the help source file in the po generation. The help file was separated from the main file because of performance reason, to gain a significant performance increase. It is not a good idea to move it back, especially that the translation works fine.

joshuajabbour’s picture

Ok, well just to clarify, it most definitely cannot be translated on my system. No fancy hacks or anything, I'm just trying to pull up the text via locale.module. It doesn't show up. No worky.