Projet

Général

Profil

Paste
Télécharger (1,04 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / advanced_help / help / translation.html @ 00c2605a

1
<p>To translate advanced help, first create a
2
directory <code>translations/help/<em>language</em></code> in the
3
module directory. Then, copy the .ini file and all the .html files
4
from the help directory into this.  If you need to alter an image to
5
use it in a translation, you also put the altered image there.</p>
6

    
7
<p>The .ini file only needs to keep the titles, and if there is
8
a <code>name</code> or <code>index name</code> setting in the
9
'advanced help settings' portion, that should be retained. Any
10
retained settings should be translated. The rest of the data in the
11
.ini file may be discarded or ignored.</p>
12

    
13
<p>Each file should then be translated in place.</p>
14

    
15
<p>When translating a .html file, you will find that
16
the <code>&amp;path&amp;</code> keyword will lead to the original
17
directory. If you must translate items that are linked, such as images
18
containing text, use <code>&amp;trans_path&amp;</code> instead, which
19
will lead to the translated directory. This will allow you to pick and
20
choose which linked items, if any, will be translated.</p>