File: main.mo

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 (12 lines) | stat: -rw-r--r-- 2,204 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
h)i`2L+b (jB~L0?F+?BKR3?(4h_<

	Auto-Detect a locale from the WWW browserBackClick one of the link below, and then click "Auto-Detect a locale from the WWW browser" samples.Ruby-GetText CGI sample scriptsSample script for CGI/ERB and Ruby-GetText-PackageSet "lang" to cookie.Set [%s] as the cookie of your WWW Browser.Set locale as a "lang" parameterSource codesSupported Locales:an ERB/CGI sample (Auto-Detect charset).an ERB/CGI sample (UTF-8).an ERB/CGI sample (UTF-8). This sample uses the same container as sample 1 but has a different rhtml file.index.cgi is also a Ruby-GetText sample script using CGI(not ERB).Project-Id-Version: cgi-sample 1.1.1
POT-Creation-Date: 2006-01-07 14:55+0900
PO-Revision-Date: 2005-04-23 16:34+0900
Last-Translator: Masao Mutoh <mutoh@highway.ne.jp>
Language-Team: Japanese
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;
WWWブラウザによるロケール自動判別戻る以下のリンクを一つ選択した後で、"WWWブラウザによるロケール自動判別"サンプルをクリックしてみてください。Ruby-GetText CGIサンプルスクリプトRuby-GetText-PacakgeのCGI/ERB向けサンプルスクリプトロケールをクッキーの"lang"パラメータとして渡す[%s]ロケールをあなたのブラウザのクッキーに設定しました。ロケールを"lang"パラメータとして渡すソースコードこのサンプルでサポートされているロケール:ERB/CGIサンプル(文字コード自動判別)ERB/CGIサンプル(UTF-8)ERB/CGIサンプル。このサンプルはサンプル1と同じコンテナを使用しています(rhtmlファイルは別)。index.cgiもRuby-GetTextのCGIサンプルスクリプトです(ERBは使っていません)。