[wp-trac] [WordPress Trac] #11632: number_format_i18n() doesn't work correctly in catalan language
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 26 14:44:49 UTC 2009
#11632: number_format_i18n() doesn't work correctly in catalan language
--------------------------+-------------------------------------------------
Reporter: Cubells | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version:
Severity: normal | Keywords: reporter-feedback
--------------------------+-------------------------------------------------
Changes (by demetris):
* cc: dkikizas@… (added)
* keywords: => reporter-feedback
Comment:
This is because they are not correctly translated. In the ca.po from
wordpress-2.9-ca.zip they are translated like this:
{{{
#. translators: $decimals argument for http://php.net/number_format,
default is 0
#: wp-includes/locale.php:182
msgid "number_format_decimals"
msgstr "number_format_decimals"
#. translators: $dec_point argument for http://php.net/number_format,
default is .
#: wp-includes/locale.php:186
msgid "number_format_decimal_point"
msgstr "number_format_decimal_point"
#. translators: $thousands_sep argument for http://php.net/number_format,
default is ,
#: wp-includes/locale.php:190
msgid "number_format_thousands_sep"
msgstr "number_format_decimal_point"
}}}
While, for a language that follows a convention that is, say, the reverse
of American English, the strings should read like this:
{{{
#. translators: $decimals argument for http://php.net/number_format,
default is 0
#: wp-includes/locale.php:182
msgid "number_format_decimals"
msgstr "0"
#. translators: $dec_point argument for http://php.net/number_format,
default is .
#: wp-includes/locale.php:186
msgid "number_format_decimal_point"
msgstr ","
#. translators: $thousands_sep argument for http://php.net/number_format,
default is ,
#: wp-includes/locale.php:190
msgid "number_format_thousands_sep"
msgstr "."
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11632#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list