tell how to test translations
[enigma2-curlytx.git] / README.rst
index a7b98b035f9632c74f1078098b78001f833041db..98c168807ea105c9cfcd35b2dad99e5a1d829f2a 100644 (file)
@@ -10,15 +10,57 @@ Multiple URLs can be configured and navigated.
 
 Open issues
 ===========
-- makefile
-- German translation
-- help screens
-- page import via atom feed/opml
 - move mode to re-order pages
-- show current page when multiple ones are defined: "2/6"
-- configurable text size per page
-- show in plugin/extension menu (blue button)
+- how to show clock in lcd?
+
 
 License
 =======
 The plugin is subject to the GPLv3 or later.
+
+
+
+Translation
+===========
+Beginning a new translation
+---------------------------
+Replace ``$lang_code`` with your two-letter language code::
+
+    $ cd po
+    $ cp messages.po $lang_code.po
+    ... edit $lang_code.po now
+    $ ./compile.sh
+
+
+Editing an existing translation
+-------------------------------
+Simply run ::
+
+    $ cd po
+    $ ./update.sh
+
+This will update the translation template ``messages.pot`` from the source code
+and will merge the changes into the single translation files.
+
+
+Testing a translation
+---------------------
+Link your compiled translation file into ::
+
+    src/locale/$lang_code/LC_MESSAGES/CurlyTx.mo
+
+Enigma2 will pick it up automatically.
+
+
+Building
+========
+First upgrade the version number in ``CONTROL/control``.
+
+Then simply run ::
+
+    ./build.sh
+
+You will need the ``ipkg-build`` script from
+ http://reichholf.net/files/dreambox/tools/ipkg-build
+
+Also see http://dream.reichholf.net/wiki/Howto:IPK_Pakete_erstellen