Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author oferwald

    (@oferwald)

    Hello There,

    You can modify the parser to do that (in the paragraph or post level) but this is not supported by us.

    In the future we will create an interface which will improve this, but this still has time before its done.

    Good luck,

    If I wanted to modify the parser to enable this function, how would I go about doing this?

    One of the biggest complaints I get is that dates, ampersands and other punctuation (basically all the break characters) just aren’t in the same position in a sentence or paragraph when translating into French, Spanish and Japanese (amongst others) and I would love to remove this restriction and allow people to paste long chunks of translated text.

    No sooner had I posted this than I noticed the addition of three lines of code in parser.php (in ‘core’ in the plugin folder) of version 0.7.5, lines 19-21:

    define('PUNCT_BREAKS', TRUE); // Will punctiations such as , . ( and such will break a phrase
    define('NUM_BREAKS', TRUE); // Will a number break a phrase
    define('ENT_BREAKS', TRUE); // Will an HTML entity break a phrase

    Changing these to ‘FALSE’ opens up the whole paragraph, making inserting pre-translated text a breeze!

    Thanks very much, you’ve just made me a hero in the office ??

    Plugin Author oferwald

    (@oferwald)

    Happy to hear that ??

    Let me know if you have further suggestions on this,
    another note is that for now you’ll have to keep manually modifying these params on new releases

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Transposh – translation filter for wordpress] Entering translation for the full content are’ is closed to new replies.