Numerous i18n issues
|Reported by:||dimadin||Owned by:||matt|
|Cc:||tracs@…, josephscott, dimadin|
Version of Akismet included in WordPress trunk has numerous i18n issues. Most of them are included in my patch below while others are mentioned.
- String out of gettext
- Plural strings out of _n
- Spitted sentences (very i18n unfriendly)
Most notable example of last is sentence shown at dashboard. In current form, it can't be friendly to any language, even English. I suggest splitting to two separate sentences, in my case separated with <br />. See wp-polyglots and #1212 for more.
Other issues not covered with patch:
- lines 290 and 349 in admin.php
- line 15 in widget.php
In all three cases we need _n.
Note that there are several strings with two variables where both are %s instead of %1$s and %2$s. Not important for me but it might be for some languages.
Also note that I didn't test this patch.
I suggest you one thing not related to i18n. In widget.php you should use plugins_url function instead of this variables, you don't need current hack since 3.0 is required anyway.
Please fix this as soon as possible so that translators can prepare for 3.1 release.
Change History (5)
comment:1 @josephscott — 4 years ago
- Cc josephscott added
- Priority changed from high to normal
- Severity changed from major to normal