I am using Drupal 7 and have transliteration module enabled.

I have a file field and I want to have the names of the uploaded files to be transliterated on upload.

The url alias for the nodes are well transliterated. But the file names are not.

I checked the settings for file system. The current settings are:

  • Transliterate file names during upload.(checked)
  • Lowercase transliterated file names. (checked)

If I "Transliterate existing file names" (admin/config/media/file-system/transliteration) then the names of the files I have already uploaded are transliterated. But still, when I upload new files, the file names are not transliterated.

Any ideas why the names are not translated on upload?

  • The transliteration settings should be right off admin/config/media/file-system/settings
    – Jimajamma
    Mar 3 '13 at 15:23
  • @Jimajamma, I cannot understand what you mean. What should be off?
    – turzifer
    Mar 3 '13 at 15:26
  • if you go to www.yoursite.com/admin/config/media/file-system/settings the transliteration options should be right there
    – Jimajamma
    Mar 3 '13 at 15:30
  • 1
    @Jimajamma yes, they are there and I have set them as stated in the question. Still the filenames are not transliterated.
    – turzifer
    Mar 3 '13 at 15:35
  • You did not mention Transliterate file names during upload which is the key setting on the menu I mentioned. If you installed transliteration AFTER you uploaded files, the files prior still may have oddball chars in them but all new file uploads should be transliterated. If this is the case, there is a TRANSLITERATION button (by default up in the top right corner) that will allow you to bulk transliterate those preexisting files. If this is not the case, then it suggests a installation issue on your site that is beyond the scope here.
    – Jimajamma
    Mar 3 '13 at 15:41

File names are not URL aliases. Pathauto has never had any sort of integration with files at all.

  • Right, thank you. I edited the question and hope it describes the problem better now.
    – turzifer
    Mar 3 '13 at 20:41

Although this is an old question, you could add debug in


To check the value of $_FILES and transliteration there.

for example, to test the var value, add

watchdog('debug', var_export($_FILES, 1));

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.