Download & Extend

BBCode Guide is untranslatable: disallowed HTML

Project:Bbcode
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi!

I've tried to translate this module into Russian but there's a problem I couldn't solve — all strings you can find there are translatable except the biggest one (BBCode Guide) which was skipped because "... it contains disallowed HTML". I tried to import that string manually only to see "The submitted string contains disallowed HTML" error occured. I thought there were misspellings I've made and did the new translation of this so-called "string" (>12K with spaces!) from scratch again... and again with all mark-up copied from source but the problem is still here — "The submitted string contains disallowed HTML". I don't know what to do. Please help me to help you with my translations.

PS My current root.po attached below.

AttachmentSize
root.ru_.po41.76 KB

Comments

#1

Huh ? Almost 1 year without answer ?

#2

Yes, it's completely unacceptable! Does anyone know how to fix it?

#3

Following link explains possible origin of this error. and allowed tags.
http://drupal.org/node/353908#comment-1233548
I noticed that translation contains font and div tags, which are not in the allowed tags list. Maybe it's the reason, but there could be more disallowed tags in that text.
Also, this whole block should be reworked according to translation best practices:

  • "\n" should be removed. You can just use next line character and it will work nicely in translator's interfaces.
  • Escaped quotes should be removed, where possible: to make unescaped quotes possible, you should use one type of quotes in t() function and another one in translation text.
nobody click here