WordPress.org

Ready to get started?Download WordPress

Forums

Transposh WordPress Translation
[Plugin: Transposh - translation filter for wordpress] Entering translation for the full content are (5 posts)

  1. sterlingprm
    Member
    Posted 3 years ago #

    I had a question, the default editing function allows to edit snippets throughout the content area. Usually 1 paragraph or sentence at a time. Is there a way to insert the full translation (in the scenario that I already have the full text)??

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

  2. Ofer Wald
    Member
    Plugin Author

    Posted 3 years ago #

    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,

  3. Mark
    Member
    Posted 2 years ago #

    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.

  4. Mark
    Member
    Posted 2 years ago #

    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 :D

  5. Ofer Wald
    Member
    Plugin Author

    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic