[wp-polyglots] Locale files and comments_number
daniel halstenbach
danco38 at gmail.com
Mon Apr 12 18:36:00 UTC 2010
maybe a solution here, but with no guaranties for result...
http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
cheers,
chouf1
2010/4/12 Pavel Hejn <pavelevap at post.cz>:
> Hi,
>
> there are problems with number formatting in Czech (http://core.trac.wordpress.org/ticket/10373).
> In related ticket is following reference: "in this specific case translators should add a number_format_i18n filter in the <locale>.php file and fix the problem there".
> So this filter should be added to any <locale>.php file (probably cs_CZ.php)? And where should be this file located? In dist folder of i18 SVN? Sorry, but I did not find any help in Codex...
>
> And second problem is with function comments_number.
>
> <?php comments_number('zero', 'one', 'more'); ?>
>
> In Czech there are:
> zero - Žádný komentář
> one - 1 komentář
> BUT: two - four - 2 komentáře
> 5 and more - 5 komentářů
>
> So, how to achieve our plural form? Many users ask for this in Czech translation...
>
> Thank you for your help...
> _______________________________________________
> wp-polyglots mailing list
> wp-polyglots at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>
--
danco38 at gmail.com
www.bp-fr.net
More information about the wp-polyglots
mailing list