Subj : Help using gettext.js To : Vela025 From : Digital Man Date : Thu Oct 17 2024 07:04:31 Re: Help using gettext.js By: Vela025 to Digital Man on Thu Oct 17 2024 02:40 pm > Re: Help using gettext.js > By: Digital Man to vela025 on Mon Oct 14 2024 19:35:51 > > > I ended up doing something different/better, still using the > > text[.lang].ini file. See my commits > and wiki updates for details. Let > > me > know if you have any questions. > > Sorry to bother you again (again). I have no js knowledge but would it be > possible to add a prompt just post > the password entry during the logon process (but pre-loading logon.*) asking > the user for their language preferences. A bit of a hack I know, but that > would allow me to store the different menus in their own respectivefolders: > /menu/ansi > /menu/ascii > /menu/mode7 > So that when swapping from a Mode 7 terminal to a 40 Col ASCII terminal > theuser doesn't need to go through a few > screens of Mode 7 control codes before they can access D from the Main Menu > tochange their Language preferences back > to English (or in this case ASCII). This sounds like something you could add to the top of your logon.js file. if(confirm("Are you using a BBC Micro Mode 7 terminal")) user.lang = "bbcmicro"; else user.lang = ""; -- digital man (rob) Synchronet "Real Fact" #22: The second ever Synchronet BBS was the Mid-Nite Hacker BBS (sysop: The Zapper) Norco, CA WX: 66.3øF, 71.0% humidity, 4 mph WSW wind, 0.00 inches rain/24hrs --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .