Use language object from local context rather then global one

Change-Id: I964f6f2ff8cc1074552ff02ac867f82be2a6fdcb