add file_tt() as a wrapper for i18n tt() function, to allow node type information to be translated.

CommentFileSizeAuthor
file_tt.patch2.7 KBaufumy

Comments

jvieille’s picture

What is this patch for?

I was expecting that the "File" file type node associated to a given file was made translatable, but it does not seems the case.

When translating a "file" node, the uploaded file id no referenced, and request a new upload.

jvieille’s picture

Any explanation about this patch?

aufumy’s picture

It is to translate the content type name to the appropriate language. So if the user language is french, instead of displaying 'File' it shows 'Fichier'

Thanks.

johanneshahn’s picture

Status: Needs review » Closed (duplicate)