diff --git a/ablog/locale/de/LC_MESSAGES/sphinx.mo b/ablog/locale/de/LC_MESSAGES/sphinx.mo new file mode 100644 index 0000000..3edad8b Binary files /dev/null and b/ablog/locale/de/LC_MESSAGES/sphinx.mo differ diff --git a/ablog/locale/de/LC_MESSAGES/sphinx.po b/ablog/locale/de/LC_MESSAGES/sphinx.po new file mode 100644 index 0000000..1ea28c4 --- /dev/null +++ b/ablog/locale/de/LC_MESSAGES/sphinx.po @@ -0,0 +1,96 @@ +# German translations for ablog. +# Copyright (C) 2014 ORGANIZATION +# This file is distributed under the same license as the ablog project. +# FIRST AUTHOR , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: ablog 0.1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2014-07-25 20:45+0300\n" +"PO-Revision-Date: 2014-07-25 20:46+0300\n" +"Last-Translator: Luc Saffre \n" +"Language-Team: de \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" +"X-Generator: Poedit 1.5.4\n" +"Language: de\n" + +#: ablog/__init__.py:274 +msgid "Posts by" +msgstr "Einträge von" + +#: ablog/__init__.py:275 +msgid "Posts from" +msgstr "Einträge aus" + +#: ablog/__init__.py:276 +msgid "Posts in" +msgstr "Einträge in" + +#: ablog/__init__.py:277 +msgid "All posts" +msgstr "Alle Einträge" + +#: ablog/__init__.py:277 +msgid "Posted in" +msgstr "Einträge in" + +#: ablog/__init__.py:278 +msgid "Posts tagged" +msgstr "Einträge mit Schlagwort" + +#: ablog/templates/archive.html:46 +msgid "Read more ..." +msgstr "Weiter..." + +#: ablog/templates/archives.html:2 +msgid "Archives" +msgstr "Archive" + +#: ablog/templates/authors.html:2 +msgid "Authors" +msgstr "Autoren" + +#: ablog/templates/categories.html:2 +msgid "Categories" +msgstr "Kategorien" + +#: ablog/templates/locations.html:2 +msgid "Locations" +msgstr "Orte" + +#: ablog/templates/postcard2.html:2 +msgid "Author" +msgstr "Autor" + +#: ablog/templates/postcard2.html:12 +msgid "Location" +msgstr "Ort" + +#: ablog/templates/postcard2.html:22 +msgid "Category" +msgstr "Kategorie" + +#: ablog/templates/postcard2.html:31 ablog/templates/tagcloud.html:2 +msgid "Tags" +msgstr "Schlagworte" + +#: ablog/templates/postcard2.html:32 +msgid "Tag" +msgstr "Schlagwort" + +#: ablog/templates/postnavy.html:7 +msgid "Previous" +msgstr "Vorige" + +#: ablog/templates/postnavy.html:17 +msgid "Next" +msgstr "Nächste" + +#: ablog/templates/recentposts.html:2 +msgid "Recent Posts" +msgstr "Neue Einträge" diff --git a/ablog/locale/sphinx.pot b/ablog/locale/sphinx.pot new file mode 100644 index 0000000..c67a16d --- /dev/null +++ b/ablog/locale/sphinx.pot @@ -0,0 +1,95 @@ +# Translations template for ablog. +# Copyright (C) 2014 ORGANIZATION +# This file is distributed under the same license as the ablog project. +# FIRST AUTHOR , 2014. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: ablog 0.1\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2014-07-25 20:45+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + +#: ablog/__init__.py:274 +msgid "Posts by" +msgstr "" + +#: ablog/__init__.py:275 +msgid "Posts from" +msgstr "" + +#: ablog/__init__.py:276 +msgid "Posts in" +msgstr "" + +#: ablog/__init__.py:277 +msgid "All posts" +msgstr "" + +#: ablog/__init__.py:277 +msgid "Posted in" +msgstr "" + +#: ablog/__init__.py:278 +msgid "Posts tagged" +msgstr "" + +#: ablog/templates/archive.html:46 +msgid "Read more ..." +msgstr "" + +#: ablog/templates/archives.html:2 +msgid "Archives" +msgstr "" + +#: ablog/templates/authors.html:2 +msgid "Authors" +msgstr "" + +#: ablog/templates/categories.html:2 +msgid "Categories" +msgstr "" + +#: ablog/templates/locations.html:2 +msgid "Locations" +msgstr "" + +#: ablog/templates/postcard2.html:2 +msgid "Author" +msgstr "" + +#: ablog/templates/postcard2.html:12 +msgid "Location" +msgstr "" + +#: ablog/templates/postcard2.html:22 +msgid "Category" +msgstr "" + +#: ablog/templates/postcard2.html:31 ablog/templates/tagcloud.html:2 +msgid "Tags" +msgstr "" + +#: ablog/templates/postcard2.html:32 +msgid "Tag" +msgstr "" + +#: ablog/templates/postnavy.html:7 +msgid "Previous" +msgstr "" + +#: ablog/templates/postnavy.html:17 +msgid "Next" +msgstr "" + +#: ablog/templates/recentposts.html:2 +msgid "Recent Posts" +msgstr "" + diff --git a/docs/i18n.rst b/docs/i18n.rst new file mode 100644 index 0000000..8bb256d --- /dev/null +++ b/docs/i18n.rst @@ -0,0 +1,34 @@ +Add i18n to ablog +================= + +ABlog automatically generates certain strings like "Recent posts", +"Categories". If these strings appear in English on your blog although you specified another language, then this page is for you. + +These strings need to be translated. Ablog needs your help. + + +.. _extract_messages: http://babel.edgewall.org/wiki/Documentation/setup.html#extract-messages + +.. _init_catalog: http://babel.edgewall.org/wiki/Documentation/setup.html#init-catalog + +.. _update_catalog: http://babel.edgewall.org/wiki/Documentation/setup.html#update-catalog + +- extract_messages_ must run each time you changed some translatable + message texts:: + + $ python setup.py extract_messages -o ablog/locale/sphinx.pot + ... + + This will create a file :xfile:`ablog/locale/sphinx.pot`, the + central messages catalog used by the different translations. + +- init_catalog_ must run after extract_messages_ once for each *new* language:: + + $ python setup.py init_catalog -l de -i ablog/locale/sphinx.pot -o ablog/locale/de/LC_MESSAGES/sphinx.po + + This will create a file :xfile:`ablog/locale/de/LC_MESSAGES/sphinx.po`. + +- update_catalog_ must run after extract_messages_ for each existing + language:: + + $ python setup.py update_catalog -l de -i ablog/locale/sphinx.pot -o ablog/locale/de/LC_MESSAGES/sphinx.po