Révision 503b3f7b
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/l10n_update/README.txt | ||
---|---|---|
26 | 26 |
Download, unpack the module the usual way. |
27 | 27 |
Enable this module and the Locale module (core). |
28 | 28 |
|
29 |
You need at least one language other than English.
|
|
30 |
On Administration > Configuration > Regional and language: |
|
31 |
Click "Add language" |
|
32 |
Pull-down menu: Choose your new language
|
|
33 |
Then click "Add language"
|
|
29 |
You need at least one language (besides the default English).
|
|
30 |
On Administration > Configuration > Regional and language > Languages:
|
|
31 |
Click "Add language".
|
|
32 |
Select a language from the select list "Language name".
|
|
33 |
Then click the "Add language" button.
|
|
34 | 34 |
|
35 | 35 |
Drupal is now importing interface translations. This can take a few minutes. |
36 |
When it's finished, you'll get a confirmation with a summary of all
|
|
37 |
translation files that have been pulled in.
|
|
36 |
When it's finished, you'll get a confirmation with a summary of the
|
|
37 |
translations that have been imported.
|
|
38 | 38 |
|
39 | 39 |
If required, enable the new language as default language. |
40 |
Home > Administration > Configuration > Regional and language:
|
|
41 |
Select your new language as default
|
|
40 |
Administration > Configuration > Regional and language > Languages:
|
|
41 |
Select your new default language.
|
|
42 | 42 |
|
43 | 43 |
Update interface translations |
44 | 44 |
----------------------------- |
45 |
On Home > Administration > Configuration > Regional and language: |
|
46 |
Choose the "Translation updates" tab |
|
47 |
Change "Check for updates" to Daily or Weekly instead of the default "Never". |
|
45 |
You want to import translations regularly using cron. You can enable this |
|
46 |
on Administration > Configuration > Regional and language > Languages: |
|
47 |
Choose the "Translation updates" tab. |
|
48 |
Change "Check for updates" to "Daily" or "Weekly" instead of the default "Never". |
|
49 |
From now on cron will check for updated translations, and import them is required. |
|
48 | 50 |
|
49 |
Cron will from now on check for updated translations, and will report the
|
|
50 |
update status on the status page (Home > Administration > Reports).
|
|
51 |
The status of the translations is reported on the "Status report" page at
|
|
52 |
Administration > Reports.
|
|
51 | 53 |
|
52 | 54 |
To check the translation status and execute updates manually, go to |
53 |
Administration > Configuration > Regional and language > Translate inteface |
|
54 |
Here you see English and your new language. |
|
55 |
Choose the "Update" tab |
|
55 |
Administration > Configuration > Regional and language > Translate inteface |
|
56 |
Choose the "Update" tab. |
|
56 | 57 |
You see a list of all modules and their translation status. |
57 | 58 |
On the bottom of the page, you can manually update using "Update translations". |
58 | 59 |
|
59 | 60 |
Use Drush |
60 | 61 |
--------- |
61 | 62 |
You can also use drush to update your translations: |
62 |
drush l10n-update # Update translations. |
|
63 |
drush l10n-update-refresh # Refresh available information. |
|
64 |
drush l10n-update-status # Show translation status of available project |
|
63 |
drush l10n-update # Update translations.
|
|
64 |
drush l10n-update-refresh # Refresh available information.
|
|
65 |
drush l10n-update-status # Show translation status of available project
|
|
65 | 66 |
|
66 | 67 |
|
67 | 68 |
Summary of administrative pages |
Formats disponibles : Unified diff
Weekly update of contrib modules