root / drupal7 / sites / all / modules / file_entity @ a8cee257
Name | Size | Revision | Age | Author | Comment |
---|---|---|---|---|---|
admin_views_default | 3acd948f | about 7 years | Assos Assos | Weekly update of contrib modules | |
plugins | c0bac9d6 | almost 6 years | Assos Assos | Weekly update of contrib modules | |
tests | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules | |
views | f419e8de | over 6 years | Assos Assos | Weekly update of contrib modules | |
LICENSE.txt | 17.7 KB | f7a2490e | over 10 years | Assos Assos | git mv htmltest drupal7 |
README.txt | 1.74 KB | c0bac9d6 | almost 6 years | Assos Assos | Weekly update of contrib modules |
file_entity.admin.inc | 42.5 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.admin.js | 1.58 KB | f7a2490e | over 10 years | Assos Assos | git mv htmltest drupal7 |
file_entity.api.php | 13.3 KB | c0bac9d6 | almost 6 years | Assos Assos | Weekly update of contrib modules |
file_entity.devel_generate.inc | 6.43 KB | 3acd948f | about 7 years | Assos Assos | Weekly update of contrib modules |
file_entity.field.inc | 19.1 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.file.inc | 13.2 KB | 937bad71 | almost 6 years | Assos Assos | Weekly update of contrib modules |
file_entity.file_api.inc | 24.9 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.file_default_displays.inc | 6.3 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.info | 1.29 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.install | 32.9 KB | c0bac9d6 | almost 6 years | Assos Assos | Weekly update of contrib modules |
file_entity.js | 602 Bytes | f7a2490e | over 10 years | Assos Assos | git mv htmltest drupal7 |
file_entity.module | 88.7 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.pages.inc | 42.3 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.pathauto.inc | 2.63 KB | c0bac9d6 | almost 6 years | Assos Assos | Weekly update of contrib modules |
file_entity.test | 66.1 KB | 082b75eb | over 6 years | Assos Assos | Weekly update of contrib modules |
file_entity.theme.inc | 8.16 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.tokens.inc | 11.4 KB | a8cee257 | almost 5 years | Assos Assos | Weekly update of contrib modules |
file_entity.tpl.php | 4.29 KB | 18596a08 | about 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 | over 7 years | Assos Assos | Weekly update of contrib modules |
Latest 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