WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5356 closed defect (bug) (duplicate)

gettext cannot parse mo files on 64bit systems

Reported by: nyuwec Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3.1
Component: I18N Keywords: gettext, 64bit
Focuses: Cc:

Description

I was trying to use a hungarian localization on WP 2.3.1, but it does nothing. After some research I had found that If I overwrite the wp-includes/gettext.php and the wp-includes/streams.php with those in the latest PHP-gettext package, everything starts to work again.
Only a minor effect occured in the Dashboard among the news results. Probably something that is needed the modified gettext.php version included in the WP install pack.

I think the problem is in connection with ticket #1727, but it seems that in revisions [4003] and [4004] the PHP gettext is updated, so currently i'm clueless.

Sadly, I can't provide any description how to reproduce the error. The only thing I can describe is the server:

Linux version 2.6.18-gentoo-r6-JiM-2 (root@localhost) (gcc version 4.1.1 (Gentoo 4.1.1-r1))
AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ stepping 02
PHP:
'./configure' '--prefix=....' '--host=x86_64-pc-linux-gnu' '--mandir=....' '--infodir=....' '--sysconfdir=/etc' '--cache-file=./config.cache' '--with-libdir=lib64' '--disable-cli' '--with-apxs2=....' '--with-config-file-path=....' '--with-config-file-scan-dir=....' '--without-pear' '--disable-bcmath' '--without-bz2' '--disable-calendar' '--with-curl' '--without-curlwrappers' '--disable-dbase' '--disable-exif' '--without-fbsql' '--without-fdftk' '--disable-filter' '--disable-ftp' '--with-gettext' '--without-gmp' '--disable-hash' '--disable-ipv6' '--disable-json' '--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-mhash' '--without-msql' '--without-mssql' '--with-ncurses' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--disable-pdo' '--with-pgsql' '--disable-posix' '--without-pspell' '--without-recode' '--disable-shmop' '--without-snmp' '--enable-soap' '--disable-sockets' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-tokenizer' '--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter' '--with-xmlrpc' '--without-xsl' '--enable-zip' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4' '--without-flatfile' '--with-gdbm' '--without-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--with-mysql=/usr' '--with-mysql-sock=....' '--without-mysqli' '--with-readline' '--without-libedit' '--without-mm' '--without-sqlite'

Change History (3)

comment:1 follow-up: ryan6 years ago

see #3780

comment:2 in reply to: ↑ 1 nyuwec6 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Replying to ryan:

see #3780

Thanks, my search was not good enough, my shame.

That ticket describes the same problem, so I close this one.

comment:3 lloydbudd6 years ago

  • Milestone 2.3.2 deleted
Note: See TracTickets for help on using tickets.