Révision e013fa40
Ajouté par Assos Assos il y a presque 7 ans
drupal7/sites/all/modules/file_entity/file_entity.field.inc | ||
---|---|---|
308 | 308 |
} |
309 | 309 |
|
310 | 310 |
$file = file_load($item['fid']); |
311 |
if (isset($item['display'])) { |
|
312 |
$file->display = $item['display']; |
|
313 |
} |
|
314 |
if (isset($item['description'])) { |
|
315 |
$file->description = $item['description']; |
|
316 |
} |
|
311 | 317 |
|
312 | 318 |
// Add some references to the referencing entity. |
313 | 319 |
// @see https://www.drupal.org/node/2333107 |
drupal7/sites/all/modules/file_entity/file_entity.file.inc | ||
---|---|---|
95 | 95 |
$query->execute(); |
96 | 96 |
} |
97 | 97 |
|
98 |
if (module_exists('image') && file_entity_file_get_mimetype_type($file) == 'image' && $file->filesize) { |
|
98 |
if (module_exists('image') && file_entity_file_get_mimetype_type($file) == 'image' && $file->filesize && isset($file->original)) { |
|
99 |
if (!isset($file->metadata)) { |
|
100 |
$file->metadata = array(); |
|
101 |
} |
|
102 |
|
|
103 |
if (!isset($file->original->metadata)) { |
|
104 |
if (!is_object($file->original)) { |
|
105 |
$file->original = new stdClass(); |
|
106 |
} |
|
107 |
$file->original->metadata = array(); |
|
108 |
} |
|
109 |
|
|
99 | 110 |
// If the file has changed dimensions or a new file has been uploaded, |
100 | 111 |
// update any image field reference to this file and flush image style |
101 | 112 |
// derivatives. |
drupal7/sites/all/modules/file_entity/file_entity.info | ||
---|---|---|
32 | 32 |
; We have to add a fake version so Git checkouts do not fail Media dependencies |
33 | 33 |
version = 7.x-2.x-dev |
34 | 34 |
|
35 |
; Information added by Drupal.org packaging script on 2017-06-03
|
|
36 |
version = "7.x-2.1"
|
|
35 |
; Information added by Drupal.org packaging script on 2017-06-19
|
|
36 |
version = "7.x-2.2"
|
|
37 | 37 |
core = "7.x" |
38 | 38 |
project = "file_entity" |
39 |
datestamp = "1496523862"
|
|
39 |
datestamp = "1497884645"
|
|
40 | 40 |
|
drupal7/sites/all/modules/file_entity/file_entity.module | ||
---|---|---|
2136 | 2136 |
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', |
2137 | 2137 |
'application/vnd.openxmlformats-officedocument.presentationml.presentation', |
2138 | 2138 |
'application/vnd.openxmlformats-officedocument.wordprocessingml.document', |
2139 |
'application/zip', |
|
2140 |
'application/x-7z-compressed', |
|
2141 |
'application/x-tar', |
|
2142 |
'application/gzip', |
|
2139 | 2143 |
), |
2140 | 2144 |
); |
2141 | 2145 |
|
drupal7/sites/all/modules/file_entity/tests/file_entity_test.info | ||
---|---|---|
5 | 5 |
dependencies[] = file_entity |
6 | 6 |
hidden = TRUE |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2017-06-03
|
|
9 |
version = "7.x-2.1"
|
|
8 |
; Information added by Drupal.org packaging script on 2017-06-19
|
|
9 |
version = "7.x-2.2"
|
|
10 | 10 |
core = "7.x" |
11 | 11 |
project = "file_entity" |
12 |
datestamp = "1496523862"
|
|
12 |
datestamp = "1497884645"
|
|
13 | 13 |
|
drupal7/sites/all/modules/i18n/i18n.info | ||
---|---|---|
8 | 8 |
files[] = i18n.test |
9 | 9 |
configure = admin/config/regional/i18n |
10 | 10 |
|
11 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
12 |
version = "7.x-1.17"
|
|
11 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
12 |
version = "7.x-1.18"
|
|
13 | 13 |
core = "7.x" |
14 | 14 |
project = "i18n" |
15 |
datestamp = "1492537747"
|
|
15 |
datestamp = "1497704047"
|
|
16 | 16 |
|
drupal7/sites/all/modules/i18n/i18n_block/README.txt | ||
---|---|---|
13 | 13 |
INTRODUCTION |
14 | 14 |
------------ |
15 | 15 |
|
16 |
The Block languages module, part of the Internationalization (https://www.drupal.org/project/i18n) package, allows the user to configure for which languages each block is visible. |
|
16 |
The Block languages module, part of the Internationalization |
|
17 |
(https://www.drupal.org/project/i18n) package, allows the user to configure |
|
18 |
for which languages each block is visible. |
|
17 | 19 |
|
18 |
* For a full description of the module, visit https://www.drupal.org/node/1279698 |
|
20 |
* For a full description of the module, |
|
21 |
visit https://www.drupal.org/node/1279698. |
|
19 | 22 |
|
20 |
* To submit bug reports and feature suggestions, or to track changes visit https://www.drupal.org/project/issues/i18n |
|
23 |
* To submit bug reports and feature suggestions, or to track changes visit |
|
24 |
https://www.drupal.org/project/issues/i18n. |
|
21 | 25 |
|
22 | 26 |
|
23 | 27 |
REQUIREMENTS |
24 | 28 |
------------ |
25 | 29 |
|
26 |
This module requires the following modules:
|
|
30 |
This module requires the following module: |
|
27 | 31 |
|
28 |
Internationalization - https://www.drupal.org/project/i18n |
|
32 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
29 | 33 |
|
30 | 34 |
|
31 | 35 |
RECOMMENDED MODULES |
32 | 36 |
------------------- |
33 | 37 |
|
34 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
35 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
36 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
37 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
38 |
* Internationalization contributions - https://www.drupal.org/project/i18n_contrib |
|
38 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
39 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
40 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
41 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
42 |
* Internationalization contributions - |
|
43 |
https://www.drupal.org/project/i18n_contrib |
|
39 | 44 |
|
40 | 45 |
|
41 | 46 |
INSTALLATION |
42 | 47 |
------------ |
43 | 48 |
|
44 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
49 |
This is a submodule of the Internationalization module. Install the |
|
50 |
Internationalization module as you would normally install a contributed Drupal |
|
51 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
45 | 52 |
|
46 | 53 |
|
47 | 54 |
CONFIGURATION |
48 | 55 |
------------- |
49 | 56 |
|
50 |
The settings for visibility per language are provided under Visibility Settings via the Languages tab when configuring a block. |
|
57 |
The settings for visibility per language are provided under Visibility |
|
58 |
Settings via the Languages tab when configuring a block. |
|
51 | 59 |
|
52 |
The Languages tab also provides a setting for whether the block is translatable. For custom blocks, the block title and the block content will be translatable. For blocks defined by modules, only the block title will be translatable. If "Make this block translatable" is selected, a Translate tab will appear for that block. This tab provides a UI for adding translations of the block in each available language. |
|
60 |
The Languages tab also provides a setting for whether the block is translatable. |
|
61 |
For custom blocks, the block title and the block content will be translatable. |
|
62 |
For blocks defined by modules, only the block title will be translatable. If |
|
63 |
"Make this block translatable" is selected, a Translate tab will appear for that |
|
64 |
block. This tab provides a UI for adding translations of the block in each |
|
65 |
available language. |
|
53 | 66 |
|
54 | 67 |
|
55 | 68 |
TROUBLESHOOTING |
... | ... | |
57 | 70 |
|
58 | 71 |
Conflicts with Context |
59 | 72 |
|
60 |
The Block languages module conflicts with the Context module, which alters how blocks are rendered. This issue can be tracked in the Internationalization issue queue: http://drupal.org/node/1343044 |
|
73 |
The Block languages module conflicts with the Context module, which alters how |
|
74 |
blocks are rendered. This issue can be tracked in the Internationalization |
|
75 |
issue queue: http://drupal.org/node/1343044 |
|
61 | 76 |
|
62 | 77 |
String Errors |
63 | 78 |
|
64 |
The user must allow your used string format to be translated on admin/config/regional/i18n/strings or you are going to have a error message like "The string blocks:block:1:body for textgroup blocks is not allowed for translation because of its text format." |
|
79 |
The user must allow your used string format to be translated on |
|
80 |
admin/config/regional/i18n/strings or you are going to have an error message |
|
81 |
like "The string blocks:block:1:body for textgroup blocks is not allowed for |
|
82 |
translation because of its text format." |
|
65 | 83 |
|
66 | 84 |
|
67 | 85 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_block/i18n_block.info | ||
---|---|---|
8 | 8 |
files[] = i18n_block.test |
9 | 9 |
|
10 | 10 |
|
11 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
12 |
version = "7.x-1.17"
|
|
11 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
12 |
version = "7.x-1.18"
|
|
13 | 13 |
core = "7.x" |
14 | 14 |
project = "i18n" |
15 |
datestamp = "1492537747"
|
|
15 |
datestamp = "1497704047"
|
|
16 | 16 |
|
drupal7/sites/all/modules/i18n/i18n_contact/README.txt | ||
---|---|---|
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The Contact translation module, part of the Internationalization (https://www.drupal.org/project/i18n) package, helps with the multilingual configuration of the site contact forms. This module makes contact categories and replies available for translation. |
|
15 |
The Contact translation module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, helps with the multilingual |
|
17 |
configuration of the site contact forms. This module makes contact categories |
|
18 |
and replies available for translation. |
|
16 | 19 |
|
17 |
* For a full description of the module, visit https://www.drupal.org/node/1396984 |
|
20 |
* For a full description of the module, visit |
|
21 |
https://www.drupal.org/node/1396984. |
|
18 | 22 |
|
19 |
* To submit bug reports and feature suggestions, or to track changes, visit https://www.drupal.org/project/issues/i18n |
|
23 |
* To submit bug reports and feature suggestions, or to track changes, |
|
24 |
visit https://www.drupal.org/project/issues/i18n. |
|
20 | 25 |
|
21 | 26 |
|
22 | 27 |
REQUIREMENTS |
23 | 28 |
------------ |
24 | 29 |
|
25 |
This module requires the following modules:
|
|
30 |
This module requires the following module: |
|
26 | 31 |
|
27 |
Internationalization (https://www.drupal.org/project/i18n)
|
|
32 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
28 | 33 |
|
29 | 34 |
|
30 | 35 |
RECOMMENDED MODULES |
31 | 36 |
------------------- |
32 | 37 |
|
33 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
34 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
35 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
36 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
37 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
38 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
39 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
40 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
41 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
42 |
* Internationalization contributions - |
|
43 |
https://www.drupal.org/project/i18n_contrib |
|
38 | 44 |
|
39 | 45 |
|
40 | 46 |
INSTALLATION |
41 | 47 |
------------ |
42 | 48 |
|
43 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. See https://drupal.org/documentation/install/modules-themes/modules-7 for further information. |
|
49 |
This is a submodule of the Internationalization module. Install the |
|
50 |
Internationalization module as you would normally install a contributed Drupal |
|
51 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
44 | 52 |
|
45 | 53 |
|
46 | 54 |
CONFIGURATION |
47 | 55 |
------------- |
48 | 56 |
|
49 |
1. Enable the Contact translation module included with the Internationalization module. |
|
57 |
1. Enable the Contact translation module included with the Internationalization |
|
58 |
module. |
|
50 | 59 |
2. Go to Administration > Structure > Contact form. |
51 |
3. Click edit for the form to configure.
|
|
52 |
4. Click the Translate tab.
|
|
53 |
5. Click the translate link for a language.
|
|
60 |
3. Select edit for the form to configure.
|
|
61 |
4. Select the Translate tab.
|
|
62 |
5. Select the translate link for a language.
|
|
54 | 63 |
6. Translate the Category and Auto-reply text. |
55 |
7. Click Save translation.
|
|
64 |
7. Select Save translation.
|
|
56 | 65 |
8. Repeat steps 5 to 7 for each language. |
57 | 66 |
9. Repeat steps 2 to 8 for all forms. |
58 | 67 |
|
drupal7/sites/all/modules/i18n/i18n_contact/i18n_contact.info | ||
---|---|---|
5 | 5 |
package = Multilingual - Internationalization |
6 | 6 |
core = 7.x |
7 | 7 |
|
8 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
9 |
version = "7.x-1.17"
|
|
8 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
9 |
version = "7.x-1.18"
|
|
10 | 10 |
core = "7.x" |
11 | 11 |
project = "i18n" |
12 |
datestamp = "1492537747"
|
|
12 |
datestamp = "1497704047"
|
|
13 | 13 |
|
drupal7/sites/all/modules/i18n/i18n_field/README.txt | ||
---|---|---|
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The Field translation module, part of the Internationalization (https://www.drupal.org/project/i18n) package, allows for translation of text associated with a field's settings including the label, help text, default value, and list options. |
|
15 |
The Field translation module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, allows for translation of text |
|
17 |
associated with a field's settings including the label, help text, default |
|
18 |
value, and list options. |
|
16 | 19 |
|
17 |
* For a full description of the module, visit this page https://www.drupal.org/node/1279346 |
|
20 |
* For a full description of the module, visit this page |
|
21 |
https://www.drupal.org/node/1279346. |
|
18 | 22 |
|
19 |
* To submit bug reports and feature suggestions, or to track changes visit https://www.drupal.org/project/issues/i18n |
|
23 |
* To submit bug reports and feature suggestions, or to track changes visit |
|
24 |
https://www.drupal.org/project/issues/i18n. |
|
20 | 25 |
|
21 | 26 |
|
22 | 27 |
REQUIREMENTS |
23 | 28 |
------------ |
24 | 29 |
|
25 |
This module requires the following modules:
|
|
30 |
This module requires the following module: |
|
26 | 31 |
|
27 |
Internationalization (https://www.drupal.org/project/i18n)
|
|
32 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
28 | 33 |
|
29 | 34 |
|
30 | 35 |
RECOMMENDED MODULES |
31 | 36 |
------------------- |
32 | 37 |
|
33 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
34 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
35 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
36 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
37 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
38 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
39 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
40 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
41 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
42 |
* Internationalization contributions - |
|
43 |
https://www.drupal.org/project/i18n_contrib |
|
38 | 44 |
|
39 | 45 |
|
40 | 46 |
INSTALLATION |
41 | 47 |
------------ |
42 | 48 |
|
43 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. Visit https://drupal.org/documentation/install/modules-themes/modules-7 for further information. |
|
49 |
This is a submodule of the Internationalization module. Install the |
|
50 |
Internationalization module as you would normally install a contributed Drupal |
|
51 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
44 | 52 |
|
45 | 53 |
|
46 | 54 |
CONFIGURATION |
47 | 55 |
------------- |
48 | 56 |
|
49 | 57 |
1. Enable the Field translation module included with Internationalization. |
50 |
2. Go to Administration > Configuration > Regional and language > Translate interface. |
|
51 |
3. Click on Filter Translatable Strings field set and limit search to fields. |
|
58 |
2. Go to Administration > Configuration > Regional and language > Translate |
|
59 |
interface. |
|
60 |
3. Select the Filter Translatable Strings field set and limit search to fields. |
|
52 | 61 |
4. Edit the desired field and Save. |
53 |
For the translation to be displayed, you need to use some of the Field Formatters provided by this module whose name usually ends up in 'translated'. For most core fields it is Default translated. |
|
54 | 62 |
|
55 |
Note: The Field Translation module does not provide content translation for fields. This functionality is provided by the Entity Translation (ET) module. |
|
63 |
For the translation to be displayed, the user needs to use some of the Field |
|
64 |
Formatters provided by this module whose name usually ends up in 'translated'. |
|
65 |
For most core fields it is Default translated. |
|
66 |
|
|
67 |
Note: The Field Translation module does not provide content translation for |
|
68 |
fields. This functionality is provided by the Entity Translation (ET) module. |
|
56 | 69 |
|
57 | 70 |
|
58 | 71 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_field/i18n_field.info | ||
---|---|---|
6 | 6 |
core = 7.x |
7 | 7 |
files[] = i18n_field.inc |
8 | 8 |
files[] = i18n_field.test |
9 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
10 |
version = "7.x-1.17"
|
|
9 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
10 |
version = "7.x-1.18"
|
|
11 | 11 |
core = "7.x" |
12 | 12 |
project = "i18n" |
13 |
datestamp = "1492537747"
|
|
13 |
datestamp = "1497704047"
|
|
14 | 14 |
|
drupal7/sites/all/modules/i18n/i18n_field/i18n_field.module | ||
---|---|---|
202 | 202 |
// Entityreference fields using the entityreference_autocomplete widget. |
203 | 203 |
$alter_element = &$element['target_id']; |
204 | 204 |
} |
205 |
elseif ($field['type'] == 'node_reference' && isset($element['nid'])) { |
|
206 |
// The node_reference fields using the entityreference_autocomplete widget. |
|
207 |
$alter_element = &$element['nid']; |
|
208 |
} |
|
205 | 209 |
else { |
206 | 210 |
// All other fields. |
207 | 211 |
$alter_element = &$element; |
... | ... | |
511 | 515 |
unset($implementations['i18n_field']); |
512 | 516 |
$implementations['i18n_field'] = $group; |
513 | 517 |
} |
514 |
} |
|
518 |
} |
drupal7/sites/all/modules/i18n/i18n_forum/README.txt | ||
---|---|---|
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The Multilingual forum module, part of the Internationalization (https://www.drupal.org/project/i18n) package, helps with the multilingual configuration of the site’s forums. |
|
15 |
The Multilingual forum module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, helps with the multilingual |
|
17 |
configuration of the site’s forums. |
|
16 | 18 |
|
17 |
* For a full description of the module visit https://www.drupal.org/node/1396988 |
|
19 |
* For a full description of the module visit |
|
20 |
https://www.drupal.org/node/1396988. |
|
18 | 21 |
|
19 |
* To submit bug reports and feature suggestions, or to track changes visit https://www.drupal.org/project/issues/i18n |
|
22 |
* To submit bug reports and feature suggestions, or to track changes visit |
|
23 |
https://www.drupal.org/project/issues/i18n. |
|
20 | 24 |
|
21 | 25 |
|
22 | 26 |
REQUIREMENTS |
23 | 27 |
------------ |
24 | 28 |
|
25 |
This module requires the following modules:
|
|
29 |
This module requires the following module: |
|
26 | 30 |
|
27 |
* Internationalization (https://www.drupal.org/project/i18n)
|
|
31 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
28 | 32 |
|
29 | 33 |
|
30 | 34 |
RECOMMENDED MODULES |
31 | 35 |
------------------- |
32 | 36 |
|
33 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
34 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
35 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
36 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
37 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
37 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
38 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
39 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
40 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
41 |
* Internationalization contributions - |
|
42 |
https://www.drupal.org/project/i18n_contrib |
|
38 | 43 |
|
39 | 44 |
INSTALLATION |
40 |
|
|
41 | 45 |
------------ |
42 | 46 |
|
43 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. See https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
47 |
This is a submodule of the Internationalization module. Install the |
|
48 |
Internationalization module as you would normally install a contributed Drupal |
|
49 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
44 | 50 |
|
45 | 51 |
|
46 | 52 |
CONFIGURATION |
... | ... | |
50 | 56 |
|
51 | 57 |
1. Enable the Multilingual forum module included with Internationalization. |
52 | 58 |
2. Go to Administration > Structure > Taxonomy. |
53 |
3. Click "edit vocabulary" for the Forums vocabulary.
|
|
59 |
3. Select the "edit vocabulary" for the Forums vocabulary.
|
|
54 | 60 |
4. Choose the translation mode (Localize or Translate). |
55 |
5. Click "Save and translate" button.
|
|
56 |
6. Click "translate" link for a language.
|
|
61 |
5. Select the "Save and translate" button.
|
|
62 |
6. Select the "translate" link for a language.
|
|
57 | 63 |
7. Translate the "Name" and "Description" for the forum. |
58 |
8. Click "Save translation" button.
|
|
64 |
8. Select the "Save translation" button.
|
|
59 | 65 |
9. Repeat steps 6 to 8 for each language. |
60 | 66 |
|
61 | 67 |
To configure forum terms |
62 | 68 |
|
63 | 69 |
1. Go to Administration > Structure > Forums. |
64 |
2. Click "edit" link for a forum or container.
|
|
65 |
3. Click "Translate" tab.
|
|
66 |
4. Click "translate" link for a language.
|
|
70 |
2. Select the "edit" link for a forum or container.
|
|
71 |
3. Select the "Translate" tab.
|
|
72 |
4. Select the "translate" link for a language.
|
|
67 | 73 |
5. Translate the "Name" and "Description" for the term. |
68 |
6. Click "Save translation" button.
|
|
74 |
6. Select the "Save translation" button.
|
|
69 | 75 |
7. Repeat steps 4 to 6 for each language. |
70 | 76 |
8. Repeat all steps for all terms. |
71 | 77 |
|
drupal7/sites/all/modules/i18n/i18n_forum/i18n_forum.info | ||
---|---|---|
7 | 7 |
core = 7.x |
8 | 8 |
files[] = i18n_forum.test |
9 | 9 |
|
10 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
11 |
version = "7.x-1.17"
|
|
10 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
11 |
version = "7.x-1.18"
|
|
12 | 12 |
core = "7.x" |
13 | 13 |
project = "i18n" |
14 |
datestamp = "1492537747"
|
|
14 |
datestamp = "1497704047"
|
|
15 | 15 |
|
drupal7/sites/all/modules/i18n/i18n_menu/README.txt | ||
---|---|---|
13 | 13 |
INTRODUCTION |
14 | 14 |
------------ |
15 | 15 |
|
16 |
The Menu translation module, part of the Internationalization (https://www.drupal.org/project/i18n) package, allows users to select a translation mode for each menu. |
|
16 |
The Menu translation module, part of the Internationalization |
|
17 |
(https://www.drupal.org/project/i18n) package, allows users to select a |
|
18 |
translation mode for each menu. |
|
17 | 19 |
|
18 | 20 |
* For a full description of the module, visit this page: |
19 |
https://www.drupal.org/node/1113982
|
|
21 |
https://www.drupal.org/node/1113982.
|
|
20 | 22 |
|
21 | 23 |
* To submit bug reports and feature suggestions, or to track changes: |
22 |
https://www.drupal.org/project/issues/i18n
|
|
24 |
https://www.drupal.org/project/issues/i18n.
|
|
23 | 25 |
|
24 | 26 |
|
25 | 27 |
REQUIREMENTS |
26 | 28 |
------------ |
27 | 29 |
|
28 |
This module requires the following modules:
|
|
30 |
This module requires the following module: |
|
29 | 31 |
|
30 |
* Internationalization (https://www.drupal.org/project/i18n)
|
|
32 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
31 | 33 |
|
32 | 34 |
|
33 | 35 |
RECOMMENDED MODULES |
34 | 36 |
------------------- |
35 | 37 |
|
36 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
37 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
38 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
39 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
40 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
38 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
39 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
40 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
41 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
42 |
* Internationalization contributions - |
|
43 |
https://www.drupal.org/project/i18n_contrib |
|
41 | 44 |
|
42 | 45 |
To link menu item menus to nodes, it is useful to have the following modules: |
43 | 46 |
|
44 |
* Entity translation i18n menu module, a sub module of Entity translation (https://www.drupal.org/project/entity_translation) |
|
45 |
* Menu translation node module (https://www.drupal.org/project/i18n_menu_node) |
|
47 |
* Entity translation i18n menu module, a submodule of Entity translation - |
|
48 |
https://www.drupal.org/project/entity_translation |
|
49 |
* Menu translation node module - https://www.drupal.org/project/i18n_menu_node |
|
46 | 50 |
|
47 | 51 |
|
48 | 52 |
INSTALLATION |
49 | 53 |
------------ |
50 | 54 |
|
51 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information |
|
55 |
This is a submodule of the Internationalization module. Install the |
|
56 |
Internationalization module as you would normally install a contributed Drupal |
|
57 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
52 | 58 |
|
53 | 59 |
|
54 | 60 |
CONFIGURATION |
55 | 61 |
------------- |
56 | 62 |
|
57 | 63 |
Language-specific menus |
58 |
1. To create or edit a menu, navigate to Structure > Menus > (menu to edit) > Edit. |
|
59 |
2. In the Translation mode section, choose Fixed Language and a Language field will appear. |
|
64 |
1. To create or edit a menu, navigate to Structure > Menus > (menu to edit) > |
|
65 |
Edit. |
|
66 |
2. In the Translation mode section, choose Fixed Language and a Language field |
|
67 |
will appear. |
|
60 | 68 |
3. Select a language, select Save, and add or update the menu items as needed. |
61 | 69 |
The menu block will only appear when viewing content in the same language. |
62 | 70 |
|
63 |
There are three modes available: |
|
71 |
There are three modes available: Translate and Localize, Fixed Language, and No |
|
72 |
Multilingual Options. |
|
64 | 73 |
|
65 | 74 |
Translate and Localize: |
66 |
You can create one menu for all languages, and translate or localize each menu item. There are two ways that menu items will be translated. |
|
67 |
1. You can set a language when creating a custom menu item so that the menu item will only show up for that language. Menu items that link to nodes in a particular language will be treated this way. |
|
68 |
2. You can localize other custom menu items without a language (for example, menu items linking to Views pages). Use the Translate tab to translate the menu item title and description. Translators can also use the "Translate interface" pages to translate these menu items. |
|
75 |
The user can create one menu for all languages, and translate or localize each |
|
76 |
menu item. There are two ways that menu items will be translated. |
|
77 |
1. The user can set a language when creating a custom menu item so that the menu |
|
78 |
item will only show up for that language. Menu items that link to nodes in a |
|
79 |
particular language will be treated this way. |
|
80 |
2. The user can localize other custom menu items without a language |
|
81 |
(for example, menu items linking to Views pages). Use the Translate tab to |
|
82 |
translate the menu item title and description. Translators can also use the |
|
83 |
"Translate interface" pages to translate these menu items. |
|
69 | 84 |
|
70 | 85 |
Fixed Language: |
71 |
If you choose Fixed Language, you'll have to set up a separate menu in each language. This could become tedious if have a lot of languages enabled on your site, but is useful if the content or menu structure is different for each language. |
|
86 |
If the user chooses Fixed Language, they'll have to set up a separate menu in |
|
87 |
each language. This could become tedious if have a lot of languages enabled on |
|
88 |
the site, but is useful if the content or menu structure is different for each |
|
89 |
language. |
|
72 | 90 |
|
73 | 91 |
No Multilingual Options: |
74 | 92 |
Only the menu will be translatable. |
... | ... | |
76 | 94 |
TROUBLESHOOTING |
77 | 95 |
--------------- |
78 | 96 |
|
79 |
A menu item linked to a node will be displayed only when the node language matches the page language. This is due to how the menu system works and the "Language selection" feature in i18n. Therefore, to get translated menus items that link to nodes, you first need translated content. For more information visit https://www.drupal.org/docs/7/multilingual/translating-content. |
|
97 |
A menu item linked to a node will be displayed only when the node language |
|
98 |
matches the page language. This is due to how the menu system works and the |
|
99 |
"Language selection" feature in i18n. Therefore, to get translated menus items |
|
100 |
that link to nodes, you first need translated content. For more information |
|
101 |
visit https://www.drupal.org/docs/7/multilingual/translating-content. |
|
80 | 102 |
|
81 | 103 |
|
82 | 104 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_menu/i18n_menu.info | ||
---|---|---|
10 | 10 |
files[] = i18n_menu.inc |
11 | 11 |
files[] = i18n_menu.test |
12 | 12 |
|
13 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
14 |
version = "7.x-1.17"
|
|
13 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
14 |
version = "7.x-1.18"
|
|
15 | 15 |
core = "7.x" |
16 | 16 |
project = "i18n" |
17 |
datestamp = "1492537747"
|
|
17 |
datestamp = "1497704047"
|
|
18 | 18 |
|
drupal7/sites/all/modules/i18n/i18n_node/README.txt | ||
---|---|---|
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The Multilingual content module, part of the Internationalization (https://www.drupal.org/project/i18n) package, provides extended multilingual options for nodes. These options help accommodate a variety of translation workflows by controlling how the language for nodes is set. |
|
15 |
The Multilingual content module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, provides extended multilingual |
|
17 |
options for nodes. These options help accommodate a variety of translation |
|
18 |
workflows by controlling how the language for nodes is set. |
|
16 | 19 |
|
17 |
Note that the Multilingual content module lives in the i18n_node directory in the Internationalization package. Don't confuse this module with the core Content translation module. |
|
20 |
Note that the Multilingual content module lives in the i18n_node directory |
|
21 |
in the Internationalization package. Don't confuse this module with the core |
|
22 |
Content translation module. |
|
18 | 23 |
|
19 |
* For a full description of the module visit https://www.drupal.org/node/1279644 |
|
24 |
* For a full description of the module visit: |
|
25 |
https://www.drupal.org/node/1279644. |
|
20 | 26 |
|
21 |
* To submit bug reports and feature suggestions, or to track changes visit https://www.drupal.org/project/issues/i18n |
|
27 |
* To submit bug reports and feature suggestions, or to track changes visit |
|
28 |
https://www.drupal.org/project/issues/i18n. |
|
22 | 29 |
|
23 | 30 |
|
24 | 31 |
REQUIREMENTS |
25 | 32 |
------------ |
26 | 33 |
|
27 |
This module requires the following modules:
|
|
34 |
This module requires the following module: |
|
28 | 35 |
|
29 |
* Internationalization (https://www.drupal.org/project/i18n)
|
|
36 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
30 | 37 |
|
31 | 38 |
|
32 | 39 |
RECOMMENDED MODULES |
33 | 40 |
------------------- |
34 | 41 |
|
35 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
36 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
37 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
38 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
39 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
42 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
43 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
44 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
45 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
46 |
* Internationalization contributions - |
|
47 |
https://www.drupal.org/project/i18n_contrib |
|
40 | 48 |
|
41 | 49 |
|
42 | 50 |
INSTALLATION |
43 |
|
|
44 | 51 |
------------ |
45 | 52 |
|
46 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. See https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
53 |
This is a submodule of the Internationalization module. Install the |
|
54 |
Internationalization module as you would normally install a contributed Drupal |
|
55 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
47 | 56 |
|
48 | 57 |
|
49 | 58 |
CONFIGURATION |
50 | 59 |
------------- |
51 | 60 |
|
52 |
For each content type, the following Extended language options are available under the Multilingual Settings tab |
|
53 |
1. "Set current language as default for new content" can be useful for content that is community-generated. |
|
61 |
For each content type, the following Extended language options are available |
|
62 |
under the Multilingual Settings tab. |
|
63 |
1. "Set current language as default for new content" can be useful for content |
|
64 |
that is community-generated. |
|
54 | 65 |
2. "Require language" prevents users from creating 'Language neutral' nodes. |
55 |
3. "Lock language" prevents users from changing the language of a node after it's created. |
|
66 |
3. "Lock language" prevents users from changing the language of a node after |
|
67 |
it's created. |
|
56 | 68 |
|
57 | 69 |
Site-wide Settings for Node Translation |
58 |
1. There are also site-wide settings provided to help streamline how multilingual content is created. Navigate to Config > Regional and language > Multilingual settings > Node Options. |
|
59 |
2. "Switch interface for translating" switches the language of the user interface to the chosen language when a user translates a node. This is useful if users speak the language in which the translation is written. It means that after the node translation is saved, the language of the UI will match the language of the node. |
|
60 |
3. "Hide content translation links" will prevent the language switcher links from appearing in nodes and teasers. This is useful if a language switcher block is enabled on the site. |
|
61 |
4.You can also select the default language for new nodes if the corresponding content type doesn't have language support. By default, it is set to be in the default language of the site, but this can be changed to be language neutral. This is a useful option when thinking about forward compatibility for adding multilingual support to these content types in the future. |
|
70 |
1. There are also site-wide settings provided to help streamline how |
|
71 |
multilingual content is created. Navigate to Config > Regional and language > |
|
72 |
Multilingual settings > Node Options. |
|
73 |
2. "Switch interface for translating" switches the language of the user |
|
74 |
interface to the chosen language when a user translates a node. This is |
|
75 |
useful if users speak the language in which the translation is written. It |
|
76 |
means that after the node translation is saved, the language of the UI will |
|
77 |
match the language of the node. |
|
78 |
3. "Hide content translation links" will prevent the language switcher links |
|
79 |
from appearing in nodes and teasers. This is useful if a language switcher |
|
80 |
block is enabled on the site. |
|
81 |
4. The user can also select the default language for new nodes if the |
|
82 |
corresponding content type doesn't have language support. By default, it is |
|
83 |
set to be in the default language of the site, but this can be changed to be |
|
84 |
language neutral. This is a useful option when thinking about forward |
|
85 |
compatibility for adding multilingual support to these content types in the |
|
86 |
future. |
|
62 | 87 |
|
63 | 88 |
|
64 | 89 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_node/i18n_node.info | ||
---|---|---|
9 | 9 |
files[]=i18n_node.test |
10 | 10 |
files[]=i18n_node.variable.inc |
11 | 11 |
|
12 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
13 |
version = "7.x-1.17"
|
|
12 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
13 |
version = "7.x-1.18"
|
|
14 | 14 |
core = "7.x" |
15 | 15 |
project = "i18n" |
16 |
datestamp = "1492537747"
|
|
16 |
datestamp = "1497704047"
|
|
17 | 17 |
|
drupal7/sites/all/modules/i18n/i18n_path/i18n_path.info | ||
---|---|---|
6 | 6 |
|
7 | 7 |
files[] = i18n_path.inc |
8 | 8 |
files[] = i18n_path.test |
9 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
10 |
version = "7.x-1.17"
|
|
9 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
10 |
version = "7.x-1.18"
|
|
11 | 11 |
core = "7.x" |
12 | 12 |
project = "i18n" |
13 |
datestamp = "1492537747"
|
|
13 |
datestamp = "1497704047"
|
|
14 | 14 |
|
drupal7/sites/all/modules/i18n/i18n_redirect/README.txt | ||
---|---|---|
1 | 1 |
CONTENTS OF THIS FILE |
2 |
---------------------------
|
|
2 |
--------------------- |
|
3 | 3 |
|
4 | 4 |
* Introduction |
5 | 5 |
* Requirements |
... | ... | |
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The Redirect translation module, part of the Internationalization (https://www.drupal.org/project/i18n) package, improves search engine optimization (SEO) for multilingual websites. |
|
15 |
The Redirect translation module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, improves search engine |
|
17 |
optimization (SEO) for multilingual websites. |
|
16 | 18 |
|
17 |
It redirects anonymous users (including web crawlers) to the translation of the page in the requested language, if it exists, using a 301 redirect code. |
|
19 |
It redirects anonymous users (including web crawlers) to the translation of the |
|
20 |
page in the requested language, if it exists, using a 301 redirect code. |
|
18 | 21 |
|
19 | 22 |
* For a full description of the module, visit this page: |
20 |
https://www.drupal.org/node/1280468
|
|
23 |
https://www.drupal.org/node/1280468.
|
|
21 | 24 |
|
22 | 25 |
* To submit bug reports and feature suggestions, or to track changes: |
23 |
https://www.drupal.org/project/issues/i18n
|
|
26 |
https://www.drupal.org/project/issues/i18n.
|
|
24 | 27 |
|
25 | 28 |
|
26 | 29 |
REQUIREMENTS |
27 | 30 |
------------ |
28 | 31 |
|
29 |
This module requires the following modules:
|
|
32 |
This module requires the following module: |
|
30 | 33 |
|
31 |
* Internationalization (https://www.drupal.org/project/i18n)
|
|
34 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
32 | 35 |
|
33 |
The Translation redirect module requires the implementation of hook_i18n_translate_path by another module for the redirect page to be determined. Currently, the Multilingual content, Path translation, and Taxonomy translation modules implement this hook. |
|
36 |
The Translation redirect module requires the implementation of |
|
37 |
hook_i18n_translate_path by another module for the redirect page to be |
|
38 |
determined. Currently, the Multilingual content, Path translation, and Taxonomy |
|
39 |
translation modules implement this hook. |
|
34 | 40 |
|
35 | 41 |
|
36 | 42 |
RECOMMENDED MODULES |
37 | 43 |
------------------- |
38 | 44 |
|
39 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
40 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
41 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
42 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
43 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
45 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
46 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
47 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
48 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
49 |
* Internationalization contributions - |
|
50 |
https://www.drupal.org/project/i18n_contrib |
|
44 | 51 |
|
45 | 52 |
|
46 | 53 |
INSTALLATION |
47 | 54 |
------------ |
48 | 55 |
|
49 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
56 |
This is a submodule of the Internationalization module. Install the |
|
57 |
Internationalization module as you would normally install a contributed Drupal |
|
58 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
50 | 59 |
|
51 | 60 |
|
52 | 61 |
CONFIGURATION |
53 | 62 |
------------- |
54 | 63 |
|
55 |
No configuration is necessary.
|
|
64 |
No configuration is necessary. |
|
56 | 65 |
|
57 |
For node translation, enable the Multilingual content and the Translation redirect modules. For non-node pages, the redirection hook must be implemented by the relevant module. |
|
58 |
For example, for taxonomy pages, you should enable the Taxonomy translation module because the module provides the necessary hook code. If you are using the Path translation module to create translation sets for non-node pages, then it implements the hook code for determining the redirection page. |
|
66 |
For node translation, enable the Multilingual content and the Translation |
|
67 |
redirect modules. For non-node pages, the redirection hook must be implemented |
|
68 |
by the relevant module. |
|
69 |
For example, for taxonomy pages, you should enable the Taxonomy translation |
|
70 |
module because the module provides the necessary hook code. If you are using the |
|
71 |
Path translation module to create translation sets for non-node pages, then it |
|
72 |
implements the hook code for determining the redirection page. |
|
59 | 73 |
|
60 | 74 |
|
61 | 75 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_redirect/i18n_redirect.info | ||
---|---|---|
4 | 4 |
package = Multilingual - Internationalization |
5 | 5 |
core = 7.x |
6 | 6 |
|
7 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
8 |
version = "7.x-1.17"
|
|
7 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
8 |
version = "7.x-1.18"
|
|
9 | 9 |
core = "7.x" |
10 | 10 |
project = "i18n" |
11 |
datestamp = "1492537747"
|
|
11 |
datestamp = "1497704047"
|
|
12 | 12 |
|
drupal7/sites/all/modules/i18n/i18n_select/README.txt | ||
---|---|---|
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The Multilingual select module, part of the Internationalization (https://www.drupal.org/project/i18n) package, allows the user to define whether content is filtered by language on pages provided by Drupal core. |
|
15 |
The Multilingual select module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, allows the user to define whether |
|
17 |
content is filtered by language on pages provided by Drupal core. |
|
16 | 18 |
|
17 |
* For a full description of the module visit https://www.drupal.org/node/1279512 |
|
19 |
* For a full description of the module visit: |
|
20 |
https://www.drupal.org/node/1279512. |
|
18 | 21 |
|
19 |
* To submit bug reports and feature suggestions, or to track changes visit https://www.drupal.org/project/issues/i18n |
|
22 |
* To submit bug reports and feature suggestions, or to track changes visit |
|
23 |
https://www.drupal.org/project/issues/i18n. |
|
20 | 24 |
|
21 | 25 |
|
22 | 26 |
REQUIREMENTS |
23 | 27 |
------------ |
24 | 28 |
|
25 |
This module requires the following modules:
|
|
29 |
This module requires the following module: |
|
26 | 30 |
|
27 |
* Internationalization (https://www.drupal.org/project/i18n)
|
|
28 |
* Variable (https://www.drupal.org/project/variable)
|
|
31 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
32 |
* Variable - https://www.drupal.org/project/variable
|
|
29 | 33 |
|
30 | 34 |
|
31 | 35 |
RECOMMENDED MODULES |
32 | 36 |
------------------- |
33 | 37 |
|
34 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
35 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
36 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
37 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
38 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
38 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
39 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
40 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
41 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
42 |
* Internationalization contributions - |
|
43 |
https://www.drupal.org/project/i18n_contrib |
|
39 | 44 |
|
40 | 45 |
|
41 | 46 |
INSTALLATION |
42 | 47 |
------------ |
43 | 48 |
|
44 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. See https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
49 |
This is a submodule of the Internationalization module. Install the |
|
50 |
Internationalization module as you would normally install a contributed Drupal |
|
51 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
45 | 52 |
|
46 | 53 |
|
47 | 54 |
CONFIGURATION |
48 | 55 |
------------- |
49 | 56 |
|
50 |
The module allows you to configure whether or not to filter pages by the current language. If the Taxonomy translation submodule is also enabled, an option will be available for how taxonomy term pages are filtered. It also allows the exclusion of the module’s language selection handling for some elements and certain paths. |
|
57 |
The module allows the user to configure whether or not to filter pages by the |
|
58 |
current language. If the Taxonomy translation submodule is also enabled, an |
|
59 |
option will be available for how taxonomy term pages are filtered. It also |
|
60 |
allows the exclusion of the module’s language selection handling for some |
|
61 |
elements and certain paths. |
|
51 | 62 |
|
52 | 63 |
1. Enable the Multilingual select module included with Internationalization. |
53 |
2. Go to Configuration > Regional and language > Multilingual settings > Selection. |
|
54 |
3. Select nodes and taxonomy can be filtered by language in the Content to Filter by Language field set. |
|
55 |
4. The "Content Selection Mode" allows content with specific tags to be skipped by entering a list of tags. |
|
56 |
5. The "Enable for Specific Pages" field set allows specific pages to be included by path. |
|
57 |
6. After making choices click Save configuration. |
|
64 |
2. Navigate to Configuration > Regional and language > Multilingual settings > |
|
65 |
Selection. |
|
66 |
3. Select nodes and taxonomy can be filtered by language in the Content to |
|
67 |
Filter by Language field set. |
|
68 |
4. The "Content Selection Mode" allows content with specific tags to be skipped |
|
69 |
by entering a list of tags. |
|
70 |
5. The "Enable for Specific Pages" field set allows specific pages to be |
|
71 |
included by path. |
|
72 |
6. After making choices, Save configuration. |
|
58 | 73 |
|
59 | 74 |
|
60 | 75 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_select/i18n_select.info | ||
---|---|---|
6 | 6 |
configure = admin/config/regional/i18n/select |
7 | 7 |
files[] = i18n_select.test |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
10 |
version = "7.x-1.17"
|
|
9 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
10 |
version = "7.x-1.18"
|
|
11 | 11 |
core = "7.x" |
12 | 12 |
project = "i18n" |
13 |
datestamp = "1492537747"
|
|
13 |
datestamp = "1497704047"
|
|
14 | 14 |
|
drupal7/sites/all/modules/i18n/i18n_string/README.txt | ||
---|---|---|
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The String translation module, part of the Internationalization (https://www.drupal.org/project/i18n) package, provides support for other modules to translate user-defined strings. This is an API module that must be enabled only when required by other modules in the i18n package. |
|
15 |
The String translation module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, provides support for other |
|
17 |
modules to translate user-defined strings. This is an API module that must be |
|
18 |
enabled only when required by other modules in the i18n package. |
|
16 | 19 |
|
17 | 20 |
|
18 | 21 |
* For a full description of the module, visit this page: |
19 |
https://www.drupal.org/node/1279668 |
|
22 |
https://www.drupal.org/node/1279668
|
|
20 | 23 |
|
21 | 24 |
* To submit bug reports and feature suggestions, or to track changes: |
22 |
https://www.drupal.org/project/issues/i18n |
|
25 |
https://www.drupal.org/project/issues/i18n
|
|
23 | 26 |
|
24 | 27 |
|
25 | 28 |
REQUIREMENTS |
26 | 29 |
------------ |
27 | 30 |
|
28 |
This module requires the following modules:
|
|
31 |
This module requires the following module: |
|
29 | 32 |
|
30 |
Internationalization (https://www.drupal.org/project/i18n)
|
|
33 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
31 | 34 |
|
32 | 35 |
|
33 | 36 |
RECOMMENDED MODULES |
34 | 37 |
------------------- |
35 | 38 |
|
36 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
37 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
38 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
39 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
40 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
39 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
40 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
41 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
42 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
43 |
* Internationalization contributions - |
|
44 |
https://www.drupal.org/project/i18n_contrib |
|
41 | 45 |
|
42 | 46 |
|
43 | 47 |
INSTALLATION |
44 | 48 |
------------ |
45 | 49 |
|
46 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
50 |
This is a submodule of the Internationalization module. Install the |
|
51 |
Internationalization module as you would normally install a contributed Drupal |
|
52 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
47 | 53 |
|
48 | 54 |
|
49 | 55 |
CONFIGURATION |
50 | 56 |
------------- |
51 | 57 |
|
52 |
Strings will be translated from the source languages. By default the source language is the site's default language, so changing the default language could break these translations. |
|
58 |
Strings will be translated from the source languages. By default the source |
|
59 |
language is the site's default language, so changing the default language could |
|
60 |
break these translations. |
|
53 | 61 |
|
54 |
1. You can set which language is used as the source language via Administration > Configuration > Regional and language > Multilingual settings > Strings. By default, only plain strings are enabled, so regular blocks are not fully translatable. |
|
55 |
2. To allow Filtered HTML, Full HTML or Plain text select the appropriate radio box(es) and Save configuration. |
|
56 |
3. To select the strings to be translated navigate to Administration > Configuration > Regional and language > Translate interface and select on Stings vertical tab. From here you can select which text groups to translate and select the Refresh strings tab. |
|
62 |
1. The user can set which language is used as the source language via |
|
63 |
Administration > Configuration > Regional and language > Multilingual |
|
64 |
settings > Strings. By default, only plain strings are enabled, so regular |
|
65 |
blocks are not fully translatable. |
|
66 |
2. To allow Filtered HTML, Full HTML or Plain text select the appropriate radio |
|
67 |
box(es) and Save configuration. |
|
68 |
3. To select the strings to be translated navigate to Administration > |
|
69 |
Configuration > Regional and language > Translate interface and select on |
|
70 |
Stings vertical tab. From here the user can select which text groups to |
|
71 |
translate and select the Refresh strings tab. |
|
57 | 72 |
|
58 | 73 |
|
59 | 74 |
FAQ |
60 | 75 |
--- |
61 | 76 |
|
62 |
The String translation module allows you to configure which text formats are translatable. Formats like PHP Filter and Full HTML are translated before they are processed, so allowing a translator to edit these can be a security risk. This is particularly problematic when importing translations in bulk from a CSV file, since the translator's access to the import formats isn't verified by Drupal. After updating this setting, be sure to refresh the strings via Administration > Configuration > Regional and language > Translate interface > Strings so that strings in forbidden formats are deleted. |
|
77 |
The String translation module allows you to configure which text formats are |
|
78 |
translatable. Formats like PHP Filter and Full HTML are translated before they |
|
79 |
are processed, so allowing a translator to edit these can be a security risk. |
|
80 |
This is particularly problematic when importing translations in bulk from a CSV |
|
81 |
file, since the translator's access to the import formats isn't verified by |
|
82 |
Drupal. After updating this setting, be sure to refresh the strings via |
|
83 |
Administration > Configuration > Regional and language > Translate interface > |
|
84 |
Strings so that strings in forbidden formats are deleted. |
|
63 | 85 |
|
64 | 86 |
|
65 | 87 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_string/i18n_string.info | ||
---|---|---|
10 | 10 |
files[] = i18n_string.test |
11 | 11 |
configure = admin/config/regional/i18n/strings |
12 | 12 |
|
13 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
14 |
version = "7.x-1.17"
|
|
13 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
14 |
version = "7.x-1.18"
|
|
15 | 15 |
core = "7.x" |
16 | 16 |
project = "i18n" |
17 |
datestamp = "1492537747"
|
|
17 |
datestamp = "1497704047"
|
|
18 | 18 |
|
drupal7/sites/all/modules/i18n/i18n_sync/i18n_sync.info | ||
---|---|---|
10 | 10 |
files[] = i18n_sync.module.inc |
11 | 11 |
files[] = i18n_sync.node.inc |
12 | 12 |
files[] = i18n_sync.test |
13 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
14 |
version = "7.x-1.17"
|
|
13 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
14 |
version = "7.x-1.18"
|
|
15 | 15 |
core = "7.x" |
16 | 16 |
project = "i18n" |
17 |
datestamp = "1492537747"
|
|
17 |
datestamp = "1497704047"
|
|
18 | 18 |
|
drupal7/sites/all/modules/i18n/i18n_taxonomy/README.txt | ||
---|---|---|
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The Taxonomy translation module, part of the Internationalization (https://www.drupal.org/project/i18n) package, provides multiple options to translate taxonomy vocabularies and terms. For each vocabulary, there are four types of behaviors to choose from: Language-independent terms, Language-specific terms, Localized terms, and Mixed-language vocabulary. |
|
15 |
The Taxonomy translation module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, provides multiple options to |
|
17 |
translate taxonomy vocabularies and terms. For each vocabulary, there are four |
|
18 |
types of behaviors to choose from: Language-independent terms, Language-specific |
|
19 |
terms, Localized terms, and Mixed-language vocabulary. |
|
16 | 20 |
|
17 |
* For a full description of the module visit https://www.drupal.org/node/1114016 |
|
21 |
* For a full description of the module visit: |
|
22 |
https://www.drupal.org/node/1114016 |
|
18 | 23 |
|
19 |
* To submit bug reports and feature suggestions, or to track changes visit https://www.drupal.org/project/issues/i18n |
|
24 |
* To submit bug reports and feature suggestions, or to track changes visit: |
|
25 |
https://www.drupal.org/project/issues/i18n |
|
20 | 26 |
|
21 | 27 |
|
22 | 28 |
REQUIREMENTS |
23 | 29 |
------------ |
24 | 30 |
|
25 |
This module requires the following modules:
|
|
31 |
This module requires the following module: |
|
26 | 32 |
|
27 | 33 |
* Internationalization - https://www.drupal.org/project/i18n |
28 | 34 |
|
... | ... | |
34 | 40 |
* Language Icons - https://www.drupal.org/project/languageicons |
35 | 41 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
36 | 42 |
* Localization Client - https://www.drupal.org/project/l10n_client |
37 |
* Internationalization contributions - https://www.drupal.org/project/i18n_contrib |
|
43 |
* Internationalization contributions - |
|
44 |
https://www.drupal.org/project/i18n_contrib |
|
38 | 45 |
|
39 | 46 |
|
40 | 47 |
INSTALLATION |
41 | 48 |
------------ |
42 | 49 |
|
43 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
50 |
This is a submodule of the Internationalization module. Install the |
|
51 |
Internationalization module as you would normally install a contributed Drupal |
|
52 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
44 | 53 |
|
45 | 54 |
|
46 | 55 |
CONFIGURATION |
... | ... | |
51 | 60 |
2. Select the "edit vocabulary" link. |
52 | 61 |
3. Select the "No multilingual options for terms". |
53 | 62 |
|
54 |
Language-specific terms - vocabulary is only used for content in that language. The terms will only be available if the term language matches the UI language. |
|
63 |
Language-specific terms - vocabulary is only used for content in that language. |
|
64 |
The terms will only be available if the term language matches the UI language. |
|
55 | 65 |
1. Navigate to Structure > Taxonomy and select the "edit vocabulary link". |
56 | 66 |
2. Choose "Fixed Language" and a Language drop-down field will be displayed. |
57 | 67 |
3. Select the language. |
58 | 68 |
4. Select "Fixed Language" and Save. |
59 | 69 |
|
60 |
Localized terms - Terms are common for all languages, but their name and description may be localized. |
|
70 |
Localized terms - Terms are common for all languages, but their name and |
|
71 |
description may be localized. |
|
61 | 72 |
1. Navigate to Structure > Taxonomy > vocabulary-to-edit > Edit. |
62 | 73 |
2. Select "Localize" and select Save. |
63 | 74 |
3. Edit a term and there will be a Translate tab. Select this tab. |
64 |
4. Select Translate, translate the Name and Description, select "Save translation", and repeat for all languages. |
|
75 |
4. Select Translate, translate the Name and Description, select |
|
76 |
"Save translation", and repeat for all languages. |
|
65 | 77 |
5. Repeat the process for all terms. |
66 | 78 |
6. Navigate to Structure > Content types > term-to-edit > Manage display. |
67 |
7. By default, the term reference is set to Link. Change this to "Link (localized)" and Save. |
|
79 |
7. By default, the term reference is set to Link. Change this to "Link |
|
80 |
(localized)" and Save. |
|
68 | 81 |
The vocabulary will be appropriate for the language. |
69 | 82 |
|
70 |
Mixed-language vocabulary - Use for vocabularies with terms in multiple languages. |
|
83 |
Mixed-language vocabulary - Use for vocabularies with terms in multiple |
|
84 |
languages. |
|
71 | 85 |
1. Navigate to Structure > Taxonomy > vocabulary-to-edit > Edit. |
72 | 86 |
2. Select the Translate radio button and Save. |
73 |
3. Edit a vocabulary term and there will be a new Language field. Choose a language and then select Save and translate. |
|
74 |
4. There are two options, the user can either select "Add translation link" or the user can select an existing term in the Select translations form. |
|
87 |
3. Edit a vocabulary term and there will be a new Language field. Choose a |
|
88 |
language and then select Save and translate. |
|
89 |
4. There are two options, the user can either select "Add translation link" or |
|
90 |
the user can select an existing term in the Select translations form. |
|
75 | 91 |
5. Create translations for the terms and add terms for specific languages only. |
76 |
Now if the user edits a node associated with this vocabulary, only the relevant terms will appear. |
|
92 |
Now if the user edits a node associated with this vocabulary, only the relevant |
|
93 |
terms will appear. |
|
77 | 94 |
|
78 | 95 |
|
79 | 96 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_taxonomy/i18n_taxonomy.info | ||
---|---|---|
11 | 11 |
files[] = i18n_taxonomy.admin.inc |
12 | 12 |
files[] = i18n_taxonomy.test |
13 | 13 |
|
14 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
15 |
version = "7.x-1.17"
|
|
14 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
15 |
version = "7.x-1.18"
|
|
16 | 16 |
core = "7.x" |
17 | 17 |
project = "i18n" |
18 |
datestamp = "1492537747"
|
|
18 |
datestamp = "1497704047"
|
|
19 | 19 |
|
drupal7/sites/all/modules/i18n/i18n_taxonomy/i18n_taxonomy.module | ||
---|---|---|
1284 | 1284 |
* Implements hook_views_pre_render(). |
1285 | 1285 |
*/ |
1286 | 1286 |
function i18n_taxonomy_views_pre_render(&$view) { |
1287 |
if(!module_exists('rules_scheduler')) {
|
|
1287 |
if($view->base_table !== 'rules_scheduler') {
|
|
1288 | 1288 |
global $language; |
1289 | 1289 |
|
1290 | 1290 |
foreach ($view->result as $delta => $term){ |
drupal7/sites/all/modules/i18n/i18n_translation/i18n_translation.info | ||
---|---|---|
6 | 6 |
|
7 | 7 |
files[] = i18n_translation.inc |
8 | 8 |
|
9 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
10 |
version = "7.x-1.17"
|
|
9 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
10 |
version = "7.x-1.18"
|
|
11 | 11 |
core = "7.x" |
12 | 12 |
project = "i18n" |
13 |
datestamp = "1492537747"
|
|
13 |
datestamp = "1497704047"
|
|
14 | 14 |
|
drupal7/sites/all/modules/i18n/i18n_user/README.txt | ||
---|---|---|
12 | 12 |
INTRODUCTION |
13 | 13 |
------------ |
14 | 14 |
|
15 |
The User mail translation module, part of the Internationalization (https://www.drupal.org/project/i18n) package, translates emails sent from the User module. |
|
15 |
The User mail translation module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, translates emails sent from the |
|
17 |
User module. |
|
16 | 18 |
|
17 | 19 |
* For a full description of the module, visit this page: |
18 |
https://www.drupal.org/node/133977
|
|
20 |
https://www.drupal.org/node/133977.
|
|
19 | 21 |
|
20 | 22 |
* To submit bug reports and feature suggestions, or to track changes: |
21 |
https://www.drupal.org/project/issues/i18n
|
|
23 |
https://www.drupal.org/project/issues/i18n.
|
|
22 | 24 |
|
23 | 25 |
|
24 | 26 |
REQUIREMENTS |
25 | 27 |
------------ |
26 | 28 |
|
27 |
This module requires the following modules:
|
|
29 |
This module requires the following module: |
|
28 | 30 |
|
29 |
Internationalization (https://www.drupal.org/project/i18n)
|
|
31 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
30 | 32 |
|
31 | 33 |
|
32 | 34 |
RECOMMENDED MODULES |
33 | 35 |
------------------- |
34 | 36 |
|
35 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
36 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
37 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
38 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
39 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
37 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
38 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
39 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
40 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
41 |
* Internationalization contributions - |
|
42 |
https://www.drupal.org/project/i18n_contrib |
|
40 | 43 |
|
41 | 44 |
|
42 | 45 |
INSTALLATION |
43 | 46 |
------------ |
44 | 47 |
|
45 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
48 |
This is a submodule of the Internationalization module. Install the |
|
49 |
Internationalization module as you would normally install a contributed Drupal |
|
50 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
46 | 51 |
|
47 | 52 |
|
48 | 53 |
CONFIGURATION |
49 | 54 |
------------- |
50 | 55 |
|
51 | 56 |
To configure email translations |
52 |
1. Navigate to Administration > Configuration > Regional and language > Multilingual settings and select the variables tab. |
|
53 |
2. Select the "User emails" tab. Select the variables you would like translated and Save configuration. |
|
57 |
1. Navigate to Administration > Configuration > Regional and language > |
|
58 |
Multilingual settings and select the variables tab. |
|
59 |
2. Select the "User emails" tab. Select the variables to be translated. Save |
|
60 |
configuration. |
|
54 | 61 |
|
55 | 62 |
|
56 | 63 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_user/i18n_user.info | ||
---|---|---|
4 | 4 |
package = Multilingual - Internationalization |
5 | 5 |
dependencies[] = i18n_variable |
6 | 6 |
|
7 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
8 |
version = "7.x-1.17"
|
|
7 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
8 |
version = "7.x-1.18"
|
|
9 | 9 |
core = "7.x" |
10 | 10 |
project = "i18n" |
11 |
datestamp = "1492537747"
|
|
11 |
datestamp = "1497704047"
|
|
12 | 12 |
|
drupal7/sites/all/modules/i18n/i18n_variable/README.txt | ||
---|---|---|
8 | 8 |
* Configuration |
9 | 9 |
* Maintainers |
10 | 10 |
|
11 |
|
|
11 | 12 |
INTRODUCTION |
12 | 13 |
------------ |
13 | 14 |
|
14 |
The Variable translation module, part of the Internationalization (https://www.drupal.org/project/i18n) package, allows the user to translate text and settings that are stored in Drupal as variables. These variables include text such as 'site name' and 'site slogan', as well as settings like 'Default front page' and 'Default 404 page'. |
|
15 |
The Variable translation module, part of the Internationalization |
|
16 |
(https://www.drupal.org/project/i18n) package, allows the user to translate text |
|
17 |
and settings that are stored in Drupal as variables. These variables include |
|
18 |
text such as 'site name' and 'site slogan', as well as settings like 'Default |
|
19 |
front page' and 'Default 404 page'. |
|
15 | 20 |
|
16 |
* For a full description of the module, visit https://www.drupal.org/node/1113374 |
|
21 |
* For a full description of the module, visit: |
|
22 |
https://www.drupal.org/node/1113374. |
|
17 | 23 |
|
18 |
* To submit bug reports and feature suggestions, or to track changes visit https://www.drupal.org/project/issues/i18n |
|
24 |
* To submit bug reports and feature suggestions, or to track changes visit: |
|
25 |
https://www.drupal.org/project/issues/i18n. |
|
19 | 26 |
|
20 | 27 |
|
21 | 28 |
REQUIREMENTS |
... | ... | |
23 | 30 |
|
24 | 31 |
This module requires the following modules: |
25 | 32 |
|
26 |
* Internationalization (https://www.drupal.org/project/i18n)
|
|
27 |
* Variable (https://www.drupal.org/project/variable)
|
|
33 |
* Internationalization - https://www.drupal.org/project/i18n
|
|
34 |
* Variable - https://www.drupal.org/project/variable
|
|
28 | 35 |
|
29 | 36 |
|
30 | 37 |
RECOMMENDED MODULES |
31 | 38 |
------------------- |
32 | 39 |
|
33 |
* Internationalization Views (https://www.drupal.org/project/i18nviews) |
|
34 |
* Language Icons (https://www.drupal.org/project/languageicons) |
|
35 |
* Translation Overview (https://www.drupal.org/project/translation_overview) |
|
36 |
* Localization Client (https://www.drupal.org/project/l10n_client) |
|
37 |
* Internationalization contributions (https://www.drupal.org/project/i18n_contrib) |
|
40 |
* Internationalization Views - https://www.drupal.org/project/i18nviews |
|
41 |
* Language Icons - https://www.drupal.org/project/languageicons |
|
42 |
* Translation Overview - https://www.drupal.org/project/translation_overview |
|
43 |
* Localization Client - https://www.drupal.org/project/l10n_client |
|
44 |
* Internationalization contributions - |
|
45 |
https://www.drupal.org/project/i18n_contrib |
|
38 | 46 |
|
39 | 47 |
|
40 | 48 |
INSTALLATION |
41 | 49 |
------------ |
42 | 50 |
|
43 |
* This is a submodule of the Internationalization module. Install the Internationalization module as you would normally install a contributed Drupal module. See https://www.drupal.org/docs/7/extending-drupal-7/installing-contributed-modules-find-import-enable-configure-drupal-7 for further information. |
|
51 |
This is a submodule of the Internationalization module. Install the |
|
52 |
Internationalization module as you would normally install a contributed Drupal |
|
53 |
module. Visit https://www.drupal.org/node/895232 for further information. |
|
44 | 54 |
|
45 | 55 |
|
46 | 56 |
CONFIGURATION |
... | ... | |
48 | 58 |
|
49 | 59 |
To enable multilingual variables |
50 | 60 |
|
51 |
1. Enable the Variable translation module included with the Internationalization package. |
|
52 |
2. Go to Administration > Configuration > Regional and language > Multilingual settings. |
|
53 |
3. Click on the Variables tab. |
|
61 |
1. Enable the Variable translation module included with the Internationalization |
|
62 |
package. |
|
63 |
2. Go to Administration > Configuration > Regional and language > Multilingual |
|
64 |
settings. |
|
65 |
3. Select on the Variables tab. |
|
54 | 66 |
4. Select the variables that will be multilingual. |
55 |
5. Click Save configuration button. |
|
56 |
|
|
57 |
Once you have the correct settings, they'll be marked with "This is a multilingual variable" when you go to the corresponding administration pages. You must switch the site language while in the administration pages to set the variables for each language. A language switcher link will appear at the top of each administrative page that has multilingual variables. |
|
67 |
5. Save configuration. |
|
68 |
|
|
69 |
Once the user has the correct settings, they'll be marked with "This is a |
|
70 |
multilingual variable" when the user navigates to the corresponding |
|
71 |
administration pages. The user must switch the site language while in the |
|
72 |
administration pages to set the variables for each language. A language switcher |
|
73 |
link will appear at the top of each administrative page that has multilingual |
|
74 |
variables. |
|
58 | 75 |
|
59 | 76 |
|
60 | 77 |
MAINTAINERS |
drupal7/sites/all/modules/i18n/i18n_variable/i18n_variable.info | ||
---|---|---|
10 | 10 |
files[] = i18n_variable.class.inc |
11 | 11 |
files[] = i18n_variable.test |
12 | 12 |
|
13 |
; Information added by Drupal.org packaging script on 2017-04-18
|
|
14 |
version = "7.x-1.17"
|
|
13 |
; Information added by Drupal.org packaging script on 2017-06-17
|
|
14 |
version = "7.x-1.18"
|
|
15 | 15 |
core = "7.x" |
16 | 16 |
project = "i18n" |
17 |
datestamp = "1492537747"
|
|
17 |
datestamp = "1497704047"
|
|
18 | 18 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules