Sha256: b808c1bb555fa8e90a6fea78d54c2c486f40edeaf1fcbd899e3e23cb7d3861da
Contents?: true
Size: 1.98 KB
Versions: 36
Compression:
Stored size: 1.98 KB
Contents
h ) i ` % ? + U ( j B q & H $ 4 ( ) C 6 ( z H q + N 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 Sample script for CGI/ERB and gettext 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 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 Un exemple de script CGI/ERB avec gettext Assigne "lang" au cookie. Assigne [%s] comme étant le cookie de votre navigateur Internet. Assigne la locale au paramêtre "lang"