WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 23 months 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: i18n 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 3 years ago.
blogware-importer-i18n-fix.patch (940 bytes) - added by SergeyBiryukov 3 years ago.
dotclear-importer-i18n-fix.patch (1022 bytes) - added by SergeyBiryukov 3 years ago.
greymatter-importer-i18n-fix.patch (1006 bytes) - added by SergeyBiryukov 3 years ago.
livejournal-importer-i18n-fix.patch (1.0 KB) - added by SergeyBiryukov 3 years ago.
movabletype-importer-i18n-fix.patch (1.0 KB) - added by SergeyBiryukov 3 years ago.
opml-importer-i18n-fix.patch (1.1 KB) - added by SergeyBiryukov 3 years ago.
rss-importer-i18n-fix.patch (853 bytes) - added by SergeyBiryukov 3 years ago.
stp-importer-i18n-fix.patch (989 bytes) - added by SergeyBiryukov 3 years ago.
textpattern-importer-i18n-fix.patch (1.1 KB) - added by SergeyBiryukov 3 years ago.
utw-importer-i18n-fix.patch (1013 bytes) - added by SergeyBiryukov 3 years ago.
wordpress-importer-i18n-fix.patch (1.2 KB) - added by SergeyBiryukov 3 years ago.
wpcat2tag-importer-i18n-fix.patch (1.1 KB) - added by SergeyBiryukov 3 years ago.

Download all attachments as: .zip

Change History (21)

comment:1 nacin3 years ago

  • Milestone changed from Awaiting Review to WordPress.org

comment:2 nacin3 years ago

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

comment:3 SergeyBiryukov3 years ago

  • Keywords has-patch added

comment:4 duck_3 years ago

Changeset for WordPress Importer.

comment:5 SergeyBiryukov3 years ago

Related: #18200

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

comment:6 Workshopshed2 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 Otto4223 months ago

Relevant blogger importer changes now live in 0.5.

comment:8 SergeyBiryukov23 months ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.