Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/i18n/example/index.es.html
blob: 041b8abb7c5b62465d39ea55eb5940e641b4e008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
 <head>
  <title class="translate">
   Un Titulo en Castellano
  </title>
 </head>
 <body>
  <h1 class="translate">
   Un Encabezado en Castellano
  </h1>
  <p>
   <div class="someClass translate">
    Eso es un 'div' con <i>'markup'</i>.
   </div>
   <h1>
    Instructions
   </h1>
   To translate (part of) this page I followed these steps:
   <ul>
    <li>
     I added a class "translate" to each html element that needs to be
  translated.
    </li>
    <li>
     I ran the script ../html2po.py to generate messages.po (this
  xgettext(1) equivalent for html)
    </li>
    <li>
     I moved messages.po to messages.pot
    </li>
    <li>
     msginit -l es -i messages.pot -o messages.es.po
    </li>
    <li>
     I added the Spanish translations to messages.es.po
    </li>
    <li>
     msgfmt -i messages.es.po
    </li>
    <li>
     ../translate-html.py -o index.es.html
    </li>
   </ul>
  </p>
 </body>
</html>