WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 43 hours ago

#16012 accepted defect (bug)

Importer descriptions i18n

Reported by: SergeyBiryukov Owned by: nacin
Milestone: WordPress.org Priority: normal
Severity: normal Version: 3.1
Component: Import Keywords: has-patch
Focuses: Cc:

Description (last modified by SergeyBiryukov)

At first I've tried to create a ticket on http://plugins.trac.wordpress.org/, but none of the importers are present in the Component dropdown. So I've decided to try it here.

As noted by Rasheed Bydousi on WP Polyglots, importer descriptions are displayed in English. The problem is that register_importer() function is called before the language file is loaded.

I've created patches for all the importers. I've also changed init action to admin_init, which seems to have more sense in this case.

Attachments (13)

blogger-importer-i18n-fix.patch (1.0 KB) - added by SergeyBiryukov 5 years ago.
blogware-importer-i18n-fix.patch (940 bytes) - added by SergeyBiryukov 5 years ago.
dotclear-importer-i18n-fix.patch (1022 bytes) - added by SergeyBiryukov 5 years ago.
greymatter-importer-i18n-fix.patch (1006 bytes) - added by SergeyBiryukov 5 years ago.
livejournal-importer-i18n-fix.patch (1.0 KB) - added by SergeyBiryukov 5 years ago.
movabletype-importer-i18n-fix.patch (1.0 KB) - added by SergeyBiryukov 5 years ago.
opml-importer-i18n-fix.patch (1.1 KB) - added by SergeyBiryukov 5 years ago.
rss-importer-i18n-fix.patch (853 bytes) - added by SergeyBiryukov 5 years ago.
stp-importer-i18n-fix.patch (989 bytes) - added by SergeyBiryukov 5 years ago.
textpattern-importer-i18n-fix.patch (1.1 KB) - added by SergeyBiryukov 5 years ago.
utw-importer-i18n-fix.patch (1013 bytes) - added by SergeyBiryukov 5 years ago.
wordpress-importer-i18n-fix.patch (1.2 KB) - added by SergeyBiryukov 5 years ago.
wpcat2tag-importer-i18n-fix.patch (1.1 KB) - added by SergeyBiryukov 5 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 @nacin5 years ago

  • Milestone changed from Awaiting Review to WordPress.org

comment:2 @nacin5 years ago

  • Owner set to nacin
  • Status changed from new to accepted

comment:3 @SergeyBiryukov5 years ago

  • Keywords has-patch added

comment:4 @duck_5 years ago

Changeset for WordPress Importer.

comment:5 @SergeyBiryukov4 years ago

Related: #18200

Other importers also should be updated for proper i18n, to test language packs on them.

comment:6 @Workshopshed3 years ago

Sergey, I've put your changes into the version of the blogger-importer I've been working on this week. See http://core.trac.wordpress.org/ticket/14525#comment:20 as I don't have access to that part of SVN.

comment:7 @Otto423 years ago

Relevant blogger importer changes now live in 0.5.

comment:8 @SergeyBiryukov3 years ago

  • Description modified (diff)

comment:9 @chriscct743 hours ago

  • Keywords i18n removed
Note: See TracTickets for help on using tickets.