« Auto-éditer un wikilivre/Annexer (Version internationalisée) » : différence entre les versions
Contenu supprimé Contenu ajouté
m →Manuels (Manuals) : Retouche |
→Fichiers de traductions (Translations files) : Mise en page |
||
Ligne 244 :
== Fichiers de traductions (Translations files) ==
=== header.inc.pot et annex.pot (sources en {{en}}) ===
{{Attention|Ces fichiers .pot sont des exemples}}
Ils sont produits par les commandes suivantes:
if test -e $Installdir/bin/header.inc; then
xgettext -L shell -o $Installdir/share/locale/header.inc.pot --from-code=UTF-8 $Installdir/bin/header.inc; fi
if test -e $Installdir/bin/annex; then
xgettext -L shell -o $Installdir/share/locale/annex.pot --from-code=UTF-8 $Installdir/bin/annex; fi
[[Auto-éditer un wikilivre/Annexer (Version internationalisée)/src/lang/po/header.pot|header.pot]]
<!--{{/src/lang/po/header.pot}}-->
Ligne 253 ⟶ 259 :
=== header_es.po et annex_es.po {{es}} ===
{{Orange| Ce sont des exemples.}}<br/>
Ils sont produits par copie des fichiers .pot pour procéder à la traduction:
cp $Installdir/share/locale/header.inc.pot $Installdir/share/locale/es/header.inc.po
cp $Installdir/share/locale/annex.pot $Installdir/share/locale/es/annex.po
[[Auto-éditer un wikilivre/Annexer (Version internationalisée)/src/lang/po/header_es.po]]
|