File: README

package info (click to toggle)
libgettext-ruby 1.7.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,892 kB
  • ctags: 1,198
  • sloc: ruby: 6,738; ansic: 67; makefile: 38; sql: 14; sh: 6
file content (148 lines) | stat: -rw-r--r-- 4,846 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
Ruby-Gettext-Package
====================

  Ruby-GetText-Package is a Localization(L10n) library and tools 
  which modeled after GNU gettext package.

  This library provides to translate original messages to localized 
  messages properly using client-side locale information(environment
  variable or CGI variable).

  And the tools for developers support to create, use, and modify 
  localized message files(message catalogs) easily.

  Features:

  * Simple APIs(similar GNU gettext)

  * rgettext creates po-files from 
    * ruby scripts 
    * glade-2 XML file(.glade)
    * ERB file(.rhtml)
    * ActiveRecord(.rb)
    The po-file is compatible to GNU gettext.

  * rmsgfmt creates a mo-file from a po-file.
    The mo-file is compatible to GNU gettext(msgfmt).

  * textdomain's scope is adapt to ruby class/module mechanism.
    * A class/module can have plural textdomains.
    * a message is looked up in its class/module and ancestors.

  * Locale is retrieved from System variables (ENV['LANG'], POSIX, Win32)

  * CGI support (gettext/cgi)
    * Locale is retrieved from client informations
      (HTTP_ACCEPT_LANGUAGE, HTTP_ACCEPT_CHARSET, QUERY_STRING(lang), 
	Cookies(lang)).

  * ERB support (gettext/erb)

  * Ruby on Rails support (gettext/rails)


Requirements
------------

  * Ruby 1.8.3 or later <http://www.ruby-lang.org/ja/>

  (options)
  * GNU gettext 0.10.35 or later 
    <http://www.gnu.org/software/gettext/gettext.html>
    (for Development only)
  * Racc-1.4.3 or later
    <http://www.ruby-lang.org/raa/list.rhtml?name=racc>
    (for compiling src/rmsgfmt.ry only)
  * Ruby on Rails 1.1.2 or later (if you use this package with Ruby on Rails)
    <http://www.rubyonrails.org/>

Install
-------
  gem:
    ($ su)
     # gem install gettext

  tar-ball:
    De-Compress archive and enter its top directory.
    Then type:
    ($ su)
     # ruby setup.rb

  You can also install files in your favor directory by
  supplying setup.rb some options. Try "ruby setup.rb --help".

Usage
-----

  If you are end-user of an application which depends on this library, 
  you don't need do nothing (See applications documents).

  If you are developer of the application which depends on this library,
  see:
  http://gettext.rubyforge.org/

License
-------
  This program is licenced under the same licence as Ruby.
  (See the file 'COPYING'.)

* mo.rb
  Copyright (C) 2001-2006 Masao Mutoh <mutoh at highwhay.ne.jp>
  Copyright (C) 2001,2002 Masahiro Sakai <s01397ms at sfc.keio.ac.jp>

* gettext.rb
  Copyright (C) 2001-2006 Masao Mutoh <mutoh at highwhay.ne.jp>
  Copyright (C) 2001,2002 Masahiro Sakai <s01397ms at sfc.keio.ac.jp>

* rgettext 
  Copyright (C) 2001-2006 Masao Mutoh <mutoh at highwhay.ne.jp>
  Copyright (C) 2001,2002 Yasushi Shoji <yashi at yashi.com>

* setup.rb
  Copyright (C) 2000-2005 Minero Aoki <aamine at loveruby.net>
  This file is released under LGPL. See the top of the install.rb.

* Others
  Copyright (C) 2001-2006 Masao Mutoh <mutoh at highwhay.ne.jp>


Translators
-----------
Chinese(Simplified)(zh_CN) - Yingfeng <blogyingfeng at gmail.com>
Czech(cs)                  - Karel Miarka <kajism at yahoo.com>
Dutch(nl)                  - Menno Jonkers <ruby-gettext at jonkers.com>
French(fr)                 - Laurent Sansonetti <laurent.sansonetti at gmail.com>
German(de)                 - Detlef Reichl <detlef.reichl at gmx.org>
                             Sven Herzberg <herzi at abi02.de>
                             Sascha Ebach <se at digitale-wertschoepfung.de>
Greek(el)                  - Damphyr <damphyr at gmx.net>
Italian(it)                - Marco Lazzeri <marco.lazzeri at gmail.com>
                             Gabriele Renzi <surrender_it at yahoo.it>
Japanese(ja)               - Masao Mutoh <mutoh at highway.ne.jp>
Korean(ko)                 - Gyoung-Yoon Noh <nohmad at gmail.com>
Portuguese(Brazil)(pt_BR)  - Joao Pedrosa <joaopedrosa at gmail.com>
Russian(ru)                - Yuri Kozlov <kozlov.y at gmail.com>
Spanish(es)                - David Espada <davinci at escomposlinux.org> (current)
                             David Moreno Garza <damog at damog.net>
Swedish(sv)                - Nikolai Weibull <mailing-lists.ruby-talk at rawuncut.elitemail.org>

Status of translations
----------------------
Chinese(zh)               - 1.7.0
Czech(cs)                 - 1.7.0
Dutch(nl)                 - 1.7.0
English(default)          - 1.7.0
French(fr)                - 1.7.0
German(de)                - 1.6.0
Greek(el)                 - 1.6.0
Spanish(es)               - 1.7.0
Italian(it)               - 1.6.0
Japanese(ja)              - 1.7.0
Korean(ko)                - 1.7.0
Portuguese(Brazil)(pt_BR) - 1.6.0
Russian(ru)               - 1.7.0
Swedish(sv)               - 0.8.0 (old)

Maintainer
----------
  Masao Mutoh <mutoh at highway.ne.jp>