Project

General

Profile

Paste
Statistics
| Branch: | Revision:

root / drupal7 / sites / all / modules / file_entity @ 9a28ac3f

Name Size Revision Age Author Comment
  admin_views_default 8e7483ab over 4 years Assos Assos Weekly update of contrib modules
  plugins c0bac9d6 over 5 years Assos Assos Weekly update of contrib modules
  tests 9a28ac3f almost 4 years Assos Assos Weekly update of contrib modules
  views f419e8de about 6 years Assos Assos Weekly update of contrib modules
LICENSE.txt 17.7 KB f7a2490e about 10 years Assos Assos git mv htmltest drupal7
README.txt 1.74 KB c0bac9d6 over 5 years Assos Assos Weekly update of contrib modules
file_entity.admin.inc 43.8 KB 9a28ac3f almost 4 years Assos Assos Weekly update of contrib modules
file_entity.admin.js 1.58 KB f7a2490e about 10 years Assos Assos git mv htmltest drupal7
file_entity.api.php 13.3 KB c0bac9d6 over 5 years Assos Assos Weekly update of contrib modules
file_entity.devel_generate.inc 6.43 KB 3acd948f over 6 years Assos Assos Weekly update of contrib modules
file_entity.field.inc 19.1 KB a8cee257 over 4 years Assos Assos Weekly update of contrib modules
file_entity.file.inc 12.4 KB 9a28ac3f almost 4 years Assos Assos Weekly update of contrib modules
file_entity.file_api.inc 24.9 KB a8cee257 over 4 years Assos Assos Weekly update of contrib modules
file_entity.file_default_displays.inc 6.3 KB a8cee257 over 4 years Assos Assos Weekly update of contrib modules
file_entity.info 1.29 KB 9a28ac3f almost 4 years Assos Assos Weekly update of contrib modules
file_entity.install 33.6 KB 8e7483ab over 4 years Assos Assos Weekly update of contrib modules
file_entity.js 602 Bytes f7a2490e about 10 years Assos Assos git mv htmltest drupal7
file_entity.module 91 KB 9a28ac3f almost 4 years Assos Assos Weekly update of contrib modules
file_entity.pages.inc 47.7 KB 9a28ac3f almost 4 years Assos Assos Weekly update of contrib modules
file_entity.pathauto.inc 2.63 KB c0bac9d6 over 5 years Assos Assos Weekly update of contrib modules
file_entity.test 66.1 KB 9a28ac3f almost 4 years Assos Assos Weekly update of contrib modules
file_entity.theme.inc 8.16 KB a8cee257 over 4 years Assos Assos Weekly update of contrib modules
file_entity.tokens.inc 11.4 KB 9a28ac3f almost 4 years Assos Assos Weekly update of contrib modules
file_entity.tpl.php 4.29 KB 18596a08 almost 7 years Assos Assos Weekly update of contrib modules
file_entity.views.inc 4.64 KB 1f142f4f over 8 years Florent Torregrosa Issue #592: Update file_entity to version 7.x-2...
file_entity_views.test 4 KB 59ae487e almost 7 years Assos Assos Weekly update of contrib modules

Latest revisions

# Date Author Comment
9a28ac3f 06/03/2020 11:12 PM Assos Assos

Weekly update of contrib modules

8e7483ab 11/20/2019 11:24 PM Assos Assos

Weekly update of contrib modules

a8cee257 10/09/2019 11:39 PM Assos Assos

Weekly update of contrib modules

937bad71 11/14/2018 11:52 PM Assos Assos

Weekly update of contrib modules

c0bac9d6 11/07/2018 11:46 PM Assos Assos

Weekly update of contrib modules

66c11afc 06/21/2018 01:13 AM Assos Assos

Weekly update of contrib modules

211d6cee 05/03/2018 12:28 AM Assos Assos

Weekly update of contrib modules

5d12d676 04/12/2018 12:29 AM Assos Assos

Weekly update of contrib modules

f419e8de 04/05/2018 12:31 AM Assos Assos

Weekly update of contrib modules

082b75eb 02/15/2018 02:26 AM Assos Assos

Weekly update of contrib modules

View revisions

README


If you want to translate file entities the Drupal 7 entity_translation module needs to be enabled.

Step 1) download and enable the file_entity module
Step 2) download and enable the entity_translation module
Step 3) enable the locale module and add your additional languages here:
/admin/config/regional/language , be sure to configure language detection as well, I prefer prefix, configure the prefix for all enabled languages.

Step 4)
go to the /admin/config/regional/entity_translation
page and check off the file entity type underneith "Translatable entity types"
then save, after you have done this, translation options for each enabled language will show up if you also enable the field translation option in the structure of your file entity type for 'managed fields' , so for instance alt field and the title field would be a good thing to enable translatable field option for.

Step 5) enable field translation on alt and title fields for file entity image type go to : /admin/structure/file-types/manage/image/fields

Step 6) Once you do this, you will get translation options for the translatable fields that have translatable field option enabled.
so to if you've correctly configured things you'll be able to add the translation in this page here: /file/1/translate

More translation usage with views:
Translate one file entity alt and title fields

and then create a view of unformated fields with the article type
add the image field to the view
save the view

hover your mouse over the image in the default language (most likely english /en) , the default language hover should show the image title in that language
switch language, hover the mouse over the image and this language (in my case French /fr ) the hover should display the image title in french.

Also available in: Atom