On Wednesday 05 of October 2011 12:47:53 Steve Simon wrote: > As a UK resident it has occasionaly hit me how some bits of plan9 > (and there are only a few) are US centric. > > perhaps we could have somthing like /adm/country/ (analogous to > /adm/timezone) which would have various config files for things like > radar, areacodes/stdcodes zipcodes/postcodes, weather, tv etc. > > I wouldn't want to follow Linux's LC_COLLATE and friends but plan9 standard > way of handling such stuff might be nice.
while LC_COLLATE & friends on Linux are runtime-configurable (which leads to extra complexity), perhaps on Plan 9 it would be OK to just link in the right libraries? let /lib/ contain libraries with subroutines for `generic' locale (the current implementation) let /lib/i18n/en_GB/lib/ contain libraries with subroutines tailored for `en_GB' locale let /lib/i18n/pl_PL/lib/ contain libraries with subroutines tailored for `pl_PL' locale before building any program, Steve would bind -b /lib/i18n/en_GB/lib/ /lib/ and I would bind -b /lib/i18n/pl_PL/lib/ /lib/ -- dexen deVries [[[↓][→]]] http://xkcd.com/732/