Subj : Re: WX To : Android8675 From : KenDB3 Date : Sat Mar 05 2016 12:51 am > Re: WX > By: Android8675 to All on Wed Mar 02 2016 11:58:35 > An> JavaScript C:\SBBS\xtrn\syncWXremix\wxlanguage.js line 68: TypeError: > An> opts.language is undefined > Looks like there are a few problems with that script. I would suggest > trying the following: > Change line 9 to: > if (typeof opts.language === 'undefined') { > opts.language = 'EN'; > If that helps, perhaps Ken can incorporate it. I rewrote that section, and tweaked some stuff in the main weather.js as well. Grab a copy from GitHub and let me know how it goes. Just FYI, anything on GitHub right now is all very ~beta~, lol. If you want something stable, grab this: ftp://bbs.kd3.us/main/KD3DOORS/sWXr104.zip The only thing the GitHub code has over Ver 1.04 is the beginnings of language support (aka internationalization) for Spanish and Italian (other translations are welcome if someone wants to submit some). However, for languages other than English I've made the characters UTF-8/Unicode as opposed to CP437, since the accents on non-English characters will not show up correctly in CP437. (Ex. Monday in Italian is Lunedì, ending in an "i" with the grave accent which looks awkward in CP437). ~KenDB3 --- þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us .