Forums

[resolved] [Plugin: Twitter Widget Pro] Localization (4 posts)

  1. GeorgWP
    Member
    Posted 4 months ago #

    Some strings - "about %s year ago" etc - did not localize. I changed _n to __ngettext in wp-twitter-widget.php lines 603-609 and then it worked.

  2. aaroncampbell
    Member
    Posted 4 months ago #

    __ngettext was deprecated in 2.8 in favor of _n, so it's set up as it should be. Maybe you need a new version of poEdit?

  3. GeorgWP
    Member
    Posted 4 months ago #

    Yes, we all do, as the current version of poEdit is apparently not able to handle the _n() functions properly. I have filed a ticket.

  4. GeorgWP
    Member
    Posted 4 months ago #

    Current version of poEdit does handle the _n() variants correctly, if one enters "_n:1,2" etc in Preferences.

Reply

You must log in to post.

About this Topic