Next: sh - Shell Script, Previous: librep, Up: Individual Programming Languages [Contents][Index]
ruby, ruby-gettext
ruby, ruby-gettext
rb
"abc"
, 'abc'
, %q/abc/
etc.,
%q(abc)
, %q[abc]
, %q{abc}
_("abc")
gettext
, ngettext
—
bindtextdomain
function
—
require 'gettext'
include GetText
emulate
xgettext
sprintf("%2$d %1$d", x, y)
"%{new} replaces %{old}" % {:old => oldvalue, :new => newvalue}
fully portable
—