From 6fa3bc624b92eaf7f36e269fa1ac625993d88ee2 Mon Sep 17 00:00:00 2001 From: Stefano Date: Fri, 19 Jul 2013 13:03:50 +0200 Subject: Explain how to add tips for translators --- locale/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'locale/README.md') diff --git a/locale/README.md b/locale/README.md index 7a9d49f4b..215b98a6e 100644 --- a/locale/README.md +++ b/locale/README.md @@ -8,6 +8,22 @@ or http://crowdin.net/project/pyload +## Add a tip for translators +If you want to explain a translatable string to make the translation process easier you can do that using comment block starting with `L10N:`. For example: + +```python +# L10N: Here the tip for translators +# Thanks +print _("A translatable string") +``` + +Translators will see: + +``` +L10N: Here the tip for translators +Thanks +``` + ## Updating templates To update POT files run: -- cgit v1.2.3