--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Bind a textdomain(%{path}/%{locale}/LC_MESSAGES/%{domainname}.mo) to your program. Normally, the texdomain scope becomes a ruby-script-file. So you need to call this function each ruby-script-files. On the other hand, if you call this function under GetText::Container (gettext/container, gettext/erb, gettext/rails), the textdomain scope becomes a Class/Module.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "domainname: the textdomain name."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "options: options as an Hash."
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":path - the path to the mo-files. When the value is nil, it will search default paths such as /usr/share/locale, /usr/local/share/locale)"
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":locale - the locale string such as &quot;ja_JP.UTF-8&quot;. Generally, you should use GetText.set_locale instead. The value is searched order by: the value of this value &gt; System default language."
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":charset - output charset. This affect the current textdomain only. Generally, you should use GetText.set_output_charset instead. The value is searched order by: the value of Locale.set_output_charset &gt; ENV[&quot;OUTPUT_CHARSET&quot;] &gt; this value &gt; System default charset."
    type: :BULLET
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "Returns: the GetText::TextDomainManager."
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: "Note: Don't use locale_, charset argument(not in options). They are remained for backward compatibility."
full_name: GetText#bindtextdomain
is_singleton: false
name: bindtextdomain
params: |
  bindtextdomain(domainname, options = {})

visibility: public
