Projet

Général

Profil

Révision 00c2605a

Ajouté par Assos Assos il y a environ 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/advanced_help/help/translation.html
1
<p>To translate advanced help, first create a <b>translations/help/$language</b> directory
2
in the module directory. Then, copy the .ini file and all .html files from
3
the help directory.</p>
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>
4 6

  
5
<p>The .ini file only needs to keep the titles, and if there is a 'name' or 'index name' setting in the 'advanced help settings' portion, that should be retained. Any retained settings should be translated. The rest of the data in the .ini file may be discarded or ignored.</p>
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>
6 12

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

  
9
<p>When translating a .html file, you will find that the <b>path</b> keyword will lead to the original directory. If you must translate items that are linked, such as images, use <b>trans_path</b> instead, which will lead to the translated directory. This will allow you to pick and choose which linked items, if any, will be translated.</p>
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>

Formats disponibles : Unified diff