# RDoc::I18n::Text - ri - phpman

= [**RDoc::I18n::Text](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AI18n%3A%3AText/markdown) < Object**

(from gem rdoc-7.2.0)
------------------------------------------------------------------------
An i18n supported text.

This object provides the following two features:

  * Extracts translation messages from wrapped raw text.
  * Translates wrapped raw text in specified locale.

Wrapped raw text is one of String, [RDoc::Comment](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AComment/markdown) or Array of them.
------------------------------------------------------------------------
= **Class methods:**

  new

= **Instance methods:**

  each_line
  emit_empty_line_event
  emit_paragraph_event
  extract_messages
  parse
  translate

