Transposh WordPress Translation
[resolved] Links with polish characters with leftovers after translat (5 posts)

  1. oliwkama
    Posted 3 years ago #


    I have an annoying issue with translating links in widgets. If you go for example to this page: http://sprawdzonakuchnia.pl/en/bagietka-grillowana-gruszka/ check recent recipes on right hand side. You can notice entries with English translated links with polish characters that are left after translation. No way to remove it. Please help.



  2. Ofer Wald
    Plugin Author

    Posted 3 years ago #

    What happens when you fix the translation with the editor?

  3. oliwkama
    Posted 3 years ago #

    Translation is messed up. There are english words mixed with special polish characters, which I can't remove.

  4. Ofer Wald
    Plugin Author

    Posted 3 years ago #


    You have your polish chars encoded as numbers:
    see: this example

    Cakes with waterą pomarańfatsą the migdałwhich

    which actually have

    & # 261 ; pomara & # 324 ;fats & # 261 ; the migda & # 322 ;which

    Added spaces for you to see

    Make sure you have a proper encoding,

    Also - disabling rightclick and select with javascript is rather silly and annoying, just takes more time for me to help you, and won't prevent anyone who really wants to get your content.

  5. Ofer Wald
    Plugin Author

    Posted 3 years ago #

    And now a solution,

    Go to parser.php, find the is_entity_breaker function, and replace the if you find there with:

    if (($entnum >= 192 && $entnum <= 214) || ($entnum >= 216 && $entnum <= 246) || ($entnum >= 248 && $entnum <= 696)) {

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