The Polish translation contains a pl_PL.php file, which comprises a function that does month name declension. It seems such .php files aren’t used on WordPress.com, which seems reasonable from a security standpoint, but it results in month names being improperly displayed on Polish WordPress.com blogs. Is it possible to implement a system that would allow such functions after, e.g., reviewal from a WordPress.com staffer? You can see the entire file here: http://i18n.svn.wordpress.org/pl_PL/tags/3.2.1/dist/wp-content/languages/pl_PL.php.
P.S.: A “com” tag would be nice.
Zé 11:48 am on October 6, 2011 Permalink |
I’ll look into it.
You mean like this one?
Wacław J. 11:49 am on October 6, 2011 Permalink |
Ah, yes. But there is no official tag, right?
Zé 12:12 pm on October 6, 2011 Permalink |
Er… not sure what you mean. No tag is “official”
Wacław J. 12:17 pm on October 6, 2011 Permalink |
I know. I meant the tag policy.
Nikolay Bachiyski 11:15 pm on October 6, 2011 Permalink |
It looks good. I’d only change the
preg_replace()call tostr_replace(). In this case of no special patterns in the regular expression they are equivalent.