I get "Taxonomy title" as text group at "mysite/admin/config/regional/translate", but I can not get the string when searching for it for translation at "mysite/admin/config/regional/translate/translate".

Though there are three strings in taxonomy_title table, string count at translation interface states "0/0 (0%)".

"Taxonomy title" text group does not show up at "mysite/admin/config/regional/translate/i18n_string" when trying to update values for user defined strings.

Thank you.



zy’s picture

Component:Miscellaneous» Code
Category:support» bug

After debugging as per i18n_string.inc line 286 change category to "bug" as the "taxonomy_title" string does not look translatable.

Thank you.

didaka’s picture

Priority:Normal» Major
Status:Active» Patch (to be ported)
new3.16 KB

I updated the code to work with the new i18n functions.
A patch is applied below.

jenlampton’s picture

Status:Patch (to be ported)» Needs review

Thanks @didaka for all your work on this!
Can we get a review please? @zy can you try this patch on your site?

Peacog’s picture

There were a couple of problems with the last patch. I've re-rolled it. Please review and test.

Peacog’s picture

I've added another small fix to the patch. Strings were being double sanitized, meaning titles containing ampersands and apostrophes were being displayed with & and '. Passing the sanitized => TRUE option to i18n_string_translate solves the problem.

hefox’s picture

Issue summary:View changes
new3.17 KB

patch works, but had a dpm

hefox’s picture

Updating to patch that the token isn't respecting translation either for term name.

ArtuDrop’s picture

hefox, this patch work in taxonomy translate interface?

hefox’s picture

Sorry, I don't remember, been too long.