languages: use the new languages flat pref layout

(integrated from trunk branch change 9fcfb65 by Todd Whiteman <toddw@activestate.com>)