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

  1. sterlingprm
    Posted 4 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)??


  2. Ofer Wald
    Plugin Author

    Posted 4 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
    Posted 4 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
    Posted 4 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
    Plugin Author

    Posted 4 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

  • Transposh WordPress Translation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic