replace site.lang with site.code which is prefered in core

replacements made by compat2core script

Change-Id: I3495e3d995afa44557601ef46796bc1f9e9c09db
Merge "replace site.lang with site.code which is prefered in core"