Projet

Général

Profil

Paste
Télécharger (3,2 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / i18n / i18n_string / README.txt @ b3ab3446

1
CONTENTS OF THIS FILE
2
---------------------
3
  
4
* Introduction
5
* Requirements
6
* Recommended modules
7
* Installation
8
* Configuration
9
* Maintainers
10

    
11

    
12
INTRODUCTION
13
------------
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.
16

    
17

    
18
* For a full description of the module, visit this page:
19
https://www.drupal.org/node/1279668
20

    
21
* To submit bug reports and feature suggestions, or to track changes:
22
https://www.drupal.org/project/issues/i18n
23

    
24

    
25
REQUIREMENTS
26
------------
27

    
28
This module requires the following modules:
29

    
30
Internationalization (https://www.drupal.org/project/i18n)
31

    
32

    
33
RECOMMENDED MODULES
34
-------------------
35

    
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)
41

    
42

    
43
INSTALLATION
44
------------
45

    
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.
47

    
48

    
49
CONFIGURATION
50
-------------
51

    
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.
53

    
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.
57

    
58

    
59
FAQ
60
---
61

    
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.
63

    
64

    
65
MAINTAINERS
66
-----------
67

    
68
* Jose Reyero - https://www.drupal.org/u/jose-reyero
69
* Florian Weber (webflo) - https://www.drupal.org/u/webflo
70
* Peter Philipp - https://www.drupal.org/u/das-peter
71
* Joseph Olstad - https://www.drupal.org/u/joseph.olstad
72
* Nathaniel Catchpole - https://www.drupal.org/u/catch