Sha256: ddb402208a71e77fe321df4718aae773d80967dafca5290934ee017a081b733f
Contents?: true
Size: 449 Bytes
Versions: 16
Compression:
Stored size: 449 Bytes
Contents
Sample script for CGI/ERB and Ruby/Locale. Run the http server. $ ruby http.rb Access the http server from WWW browser: http://localhost:10080/ or If you want to set locale(lang) forcely, then: http://localhost:10080/?lang=ja #ja is a target locale in this sample. http.rb - an http server for samples using WEBrick index.cgi - a sample menu (CGI sample) cookie.cgi - Set lang to cookie value. locale.css - CSS file.
Version data entries
16 entries across 16 versions & 1 rubygems