Node which supports translation.
The translation goes forward with following steps:
The translatable nodes MUST preserve original messages. And these messages should not be overridden at applying step. Because they are used at final step; extraction.
Method | apply_translated_message |
Apply translated message. |
Method | extract_original_messages |
Extract translation messages. |
Method | preserve_original_messages |
Preserve original translatable messages. |
sphinx.addnodes.toctree
Parameters | |
original_message:str | Undocumented |
translated_message:str | Undocumented |
sphinx.addnodes.toctree
Returns | |
Sequence[ | list of extracted messages or messages generator |
sphinx.addnodes.toctree