Package: wordpress-l10n
Version: 2.9.2-1
Severity: important

According to Wordpress developer, Wordpress supports RTL languages by .mo file 
and php config file, php file which has the 
configuration of RTL instead of LTR 
(http://ryan.boren.me/2007/01/07/rtl-support-in-wordpress-21/).

However, in the package wordpress-l10n there are only the .mo files, but not 
the php files. as a result, Wordpress in Debian is 
always LTR, e.g. the themes and the admin panels, even for RTL languages as 
Hebrew and Arabic (I tested it in Hebrew, I believe the 
same is true for Arabic too).

Example of the needed php file for hebrew:
filename:he-IL.php 

        <?php
        $text_direction = 'rtl';
        ?>

Without the php file Wordpress is always LRT, with the php file Wordpress is 
RTL. The same file should be added also to Arabic (and 
Parsian, if translation exists).

Here is example of the files in Hebrew-localized Wordpress 2.9.2 version - 
http://svn.wph.co.il/wph/tags/2.9.2h/wp-content/languages/

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wordpress-l10n depends on:
ii  wordpress                     2.9.2-1    weblog manager

wordpress-l10n recommends no packages.

wordpress-l10n suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to