Class | GetText::TextDomain |
In: |
lib/gettext/runtime/textdomain.rb
|
Parent: | Object |
GetText::TextDomain class manages mo-files of a textdomain.
Usually, you don’t need to use this class directly.
Notice: This class is unstable. APIs will be changed.
DEFAULT_PLURAL_CALC | = | Proc.new{|n| n != 1} |
DEFAULT_SINGLE_CALC | = | Proc.new{|n| 0} |
mofiles | [R] | |
name | [R] | |
output_charset | [R] |
Add default locale path. Usually you should use GetText.add_default_locale_path instead.
Creates a new GetText::TextDomain.