Edgewall Software

Changes between Version 7 and Version 8 of CookBook/PluginL10N


Ignore:
Timestamp:
May 9, 2010, 1:11:08 AM (14 years ago)
Author:
hasienda <hoff.st@…>
Comment:

added just a short hint on i18n markup for Genshi templates

Legend:

Unmodified
Added
Removed
Modified
  • CookBook/PluginL10N

    v7 v8  
    9999This is a somewhat time consuming task depending on the size of the plugin's code. If you initially fail to find all desired texts you may notice this by missing them from the message catalog later and come back to this step again. If the plugin maintainer is unaware of your i18n work or unwilling to support it and he adds more message without the translation function call, remember that you have to do the wrapping of these new texts too.
    100100
    101 Message extraction for Genshi templates should be done auto-magically. However there is a markup available, to ensure extraction even from less common tags.
     101Message extraction for Genshi templates should be done auto-magically. However there is the markup `i18n:msg` available to ensure extraction even from less common tags. But there are not all issues settled with some special cases for message extraction from Genshi templates, i.e. see [g:ticket:385 Genshi ticket 385]. You should search for similar issues you may encounter while trying to handle plugin templates.
    102102
    103 [FIXME: add details about msg extraction from templates and other files]
     103[FIXME: add more details about msg extraction from other files]
    104104
    105105==== Register message catalog files for packaging ====