Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using current alpha 1 of plup and the Transliterate module. But files uploaded via plup are not transliterated. Is this a known problem?
Comment | File | Size | Author |
---|---|---|---|
#5 | plup-transliteration-1692850-5.patch | 985 bytes | AdamGerthel |
Comments
Comment #1
sashken2 CreditAttribution: sashken2 commentedI have this problem too.
Comment #2
derMatze CreditAttribution: derMatze commentedAny solution for this issue?
Comment #3
sludwig CreditAttribution: sludwig commentedYou could add translation functionality in function plup_field_attach_presave in file plup.module
Replace this:
with this:
With this all new uploaded files are transliterated when the node is saved, if the Transliteration Module is available.
Comment #4
sashken2 CreditAttribution: sashken2 commentedsludwig, thanks! All works good!
ivanjaros, can you add it in dev version?
Comment #5
AdamGerthel CreditAttribution: AdamGerthel commentedHere's a patch based off of the code in #3