root / drupal7 / sites / all / modules / file_entity @ 937bad71
Nom | Taille | Révision | Âge | Auteur | Commentaire |
---|---|---|---|---|---|
admin_views_default | 3acd948f | environ 7 ans | Assos Assos | Weekly update of contrib modules | |
plugins | c0bac9d6 | presque 6 ans | Assos Assos | Weekly update of contrib modules | |
tests | 937bad71 | presque 6 ans | Assos Assos | Weekly update of contrib modules | |
views | f419e8de | plus de 6 ans | Assos Assos | Weekly update of contrib modules | |
LICENSE.txt | 17,7 ko | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
README.txt | 1,74 ko | c0bac9d6 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.admin.inc | 42,5 ko | c0bac9d6 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.admin.js | 1,58 ko | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
file_entity.api.php | 13,3 ko | c0bac9d6 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.devel_generate.inc | 6,43 ko | 3acd948f | environ 7 ans | Assos Assos | Weekly update of contrib modules |
file_entity.field.inc | 18 ko | c0bac9d6 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.file.inc | 13,2 ko | 937bad71 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.file_api.inc | 24,8 ko | 937bad71 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.file_default_displays.inc | 6,25 ko | d1c64ea8 | presque 7 ans | Assos Assos | Weekly update of contrib modules |
file_entity.info | 1,29 ko | 937bad71 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.install | 32,9 ko | c0bac9d6 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.js | 602 octets | f7a2490e | plus de 10 ans | Assos Assos | git mv htmltest drupal7 |
file_entity.module | 88,7 ko | 937bad71 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.pages.inc | 41,1 ko | c0bac9d6 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.pathauto.inc | 2,63 ko | c0bac9d6 | presque 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.test | 66,1 ko | 082b75eb | plus de 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.theme.inc | 7,97 ko | d1c64ea8 | presque 7 ans | Assos Assos | Weekly update of contrib modules |
file_entity.tokens.inc | 11,3 ko | 211d6cee | plus de 6 ans | Assos Assos | Weekly update of contrib modules |
file_entity.tpl.php | 4,29 ko | 18596a08 | environ 7 ans | Assos Assos | Weekly update of contrib modules |
file_entity.views.inc | 4,64 ko | 1f142f4f | plus de 8 ans | Florent Torregrosa | Issue #592: Update file_entity to version 7.x-2... |
file_entity_views.test | 4 ko | 59ae487e | plus de 7 ans | Assos Assos | Weekly update of contrib modules |
Dernières révisions
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.
Formats disponibles : Atom