W3C home > Mailing lists > Public > www-international@w3.org > January to March 2000

Pseudo Resources for Java-Script

From: Rolfe, Russell D, ALSVC <rrolfe@att.com>
Date: Mon, 21 Feb 2000 15:32:17 -0500
Message-ID: <E5B80B001D76D211879C00E0291077610298C77B@njc240po05.ho.att.com>
To: "'nelocsig@egroups.com'" <nelocsig@egroups.com>, www-international@w3.org
Dear all,

I am building a JavaScript that will print out the date in three different
formats

    dd-mmm-yyyy
    mmm dd, yyyy
    yyyy-mm-dd

where: 
   mmm = 3 let abbreviation of month 
   mm  = 2 digit representation of month

What I would like to do is use the correct language to display the names of
the months depending on what locale is passed to it(en_US, fr_FR, etc.)
Right now I have a JavaScript file that has all the different languages that
I want in the same file.  What I would like to do is test the locale passed
and then call a second JavaScript file (pseudo resource file) to load only
the names of the months for the requested language.

Have any of you done this before and could give me an idea how to do it, or
tell me that I am crazy and it can't be done with JavaScript.

Looking forward to hearing from you.

Regards, Russ

-----Original Message-----
From: Suzanne Topping [mailto:stopping@rochester.rr.com]
Sent: Wednesday, February 16, 2000 1:31 PM
To: nelocsig
Subject: [nelocsig] Internationalizing CGI Scripts Presentation


Hello all,

Several people expressed interest in receiving copies of Andrea Vine's
presentation on Internationalization of CGI scripts.

Andrea says that the presentation was based on her article titled "Designing
Internationalized HTML Interfaces", which appeared in #28, Volume 10 Issue
6, December 1999/January 2000 of MultiLingual Computing and Technology. She
suggested that interested people take a look at that article.

I checked the MultiLingual web site (http://www.multilingual.com) in the
hope that it might have been one of the online featured articles, but it was
not. You would therefore need to get the back issue, and I believe you can
order them them through the web site, if you don't already subscribe.

Actually, I have an article in that issue as well... one more reason that
you should all run out and buy it!!  ;^)

Take care,

Suzanne

--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Suzanne Topping
Localization Unlimited
(Globalization Process Improvement Consulting and Training)
28 Ericsson Street
Rochester, New York, 14610-1705
USA
Phone: 716-473-0791
Fax: 716-231-2013
Email: stopping@rochester.rr.com




------------------------------------------------------------------------
Shabang!com is the place to get your FREE eStore, Absolutely FREE
Forever. If you have any desires to sell your products or services
online, or you want to expand your customer base for FREE, Come check
out Shabang!com FREE eStores!
http://click.egroups.com/1/1299/5/_/17096/_/950727413/

-- Create a poll/survey for your group!
-- http://www.egroups.com/vote?listname=nelocsig&m=1
Received on Monday, 21 February 2000 15:33:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:55 GMT