Sha256: 2883e3b3697ec43e65b3cc4f227864ffcdd2854d33478fcec8ecd8549f83d673
Contents?: true
Size: 1.91 KB
Versions: 10
Compression:
Stored size: 1.91 KB
Contents
Þ• Œ ü H ) I s ` x Ù ù + ; \ i ( | ¥ j À B + O n H ¾ ” ( ¬ Õ C ï ( 3 \ h H È q ä N V Auto-Detect a locale from the WWW browser Back Click one of the link below, and then click "Auto-Detect a locale from the WWW browser" samples. Ruby-GetText CGI sample scripts Set "lang" to cookie. Set [%s] as the cookie of your WWW Browser. Set locale as a "lang" parameter Source codes Supported 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: YEAR-MO-DA HO:MI+ZONE Last-Translator: Laurent Sansonetti <lrz@rubymonks.org> Language-Team: French MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1; Détection automatique de la locale àpartir du navigateur Internet Précédent Cliquez sur un des liens en dessous, et cliquez ensuite sur les exemples "Détection automatique de la locale àpartir du navigateur Internet". Exemples de script CGI avec Ruby-GetText Assigne "lang" au cookie. Assigne [%s] comme étant le cookie de votre navigateur Internet. Assigne la locale au paramêtre "lang"