WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. oliwkama
    Member
    Posted 1 year ago #

    Hi,

    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.

    Anna

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

  2. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    What happens when you fix the translation with the editor?

  3. oliwkama
    Member
    Posted 1 year ago #

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

  4. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    Well,

    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
    Member
    Plugin Author

    Posted 1 year 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

About this Topic