Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/i18n/example/index.es.html
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/example/index.es.html')
-rw-r--r--i18n/example/index.es.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/i18n/example/index.es.html b/i18n/example/index.es.html
new file mode 100644
index 0000000..041b8ab
--- /dev/null
+++ b/i18n/example/index.es.html
@@ -0,0 +1,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>
+