Replace lang with code keeping doc string unchanged

- because we are working on sites we use the site.code
- doc string remains unchanged due to confusing operators when
  e.g. using -fromlang options

Change-Id: Iaa99eb53f407b860e1f3b06f057fe66ff71a4235