Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
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.
//Lena
Comments
Comment #1
zy CreditAttribution: zy commentedAfter debugging as per i18n_string.inc line 286 change category to "bug" as the "taxonomy_title" string does not look translatable.
Thank you.
Lena
Comment #2
didaka CreditAttribution: didaka commentedI updated the code to work with the new i18n functions.
A patch is applied below.
Comment #3
jenlamptonThanks @didaka for all your work on this!
Can we get a review please? @zy can you try this patch on your site?
Comment #4
Peacog CreditAttribution: Peacog commentedThere were a couple of problems with the last patch. I've re-rolled it. Please review and test.
Comment #5
Peacog CreditAttribution: Peacog commentedI'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.
Comment #6
hefox CreditAttribution: hefox commentedpatch works, but had a dpm
Comment #7
hefox CreditAttribution: hefox commentedUpdating to patch that the token isn't respecting translation either for term name.
Comment #8
ArtuDrop CreditAttribution: ArtuDrop commentedhefox, this patch work in taxonomy translate interface?
Comment #9
hefox CreditAttribution: hefox commentedSorry, I don't remember, been too long.
Comment #10
Nikolino CreditAttribution: Nikolino commentedThis patch don't work for me.
I'm not able to translate taxonomy title...
Comment #11
jenlamptonNeeded a reroll, but otherwise this looks great. Much cleaner, thank you!
Comment #13
jenlampton